fix support resource for debian platforms issue