5 local pkgpath
="${srcdir}"/package
/debian
7 for j
in install upgrade remove
12 if test -r $pkgpath/"$1".
"$s" # specific install script
16 sed -e 's/^/ /' $pkgpath/"$1".
"$s"
20 elif test -r $pkgpath/"$1".p
# bundle-based install
22 if test -r $pkgpath/"$s".funcs
26 if >/dev
/null
expr "$1" : "nosh-run-"
28 echo " nosh_run_package=YES"
31 sed -e 's/^/ /' $pkgpath/"$s".funcs
33 if test -r $pkgpath/"$1".
"$s".extra
35 sed -e 's/^/ /' $pkgpath/"$1".
"$s".extra
38 sed -e 's/^/ /' $pkgpath/"$1".p