Update pkgdemon-manager.sh

Converted script from csh to sh.