diff --git a/commands/scripts/binpackage.sh b/commands/scripts/binpackage.sh index b39e5e46f..f3e6abce8 100644 --- a/commands/scripts/binpackage.sh +++ b/commands/scripts/binpackage.sh @@ -52,7 +52,7 @@ else sh -e build fi echo " * Building package" -( if [ -f $PI ]; then echo $PI; fi; find / -cnewer $packagestart | egrep -v "^($srcdir|/(dev|tmp)|/usr/(tmp|log|adm|run|src)|/etc/utmp|/var/run)" ) | pax -w -d | bzip2 >$tarbz +( if [ -f $PI ]; then echo $PI; fi; find / -cnewer $packagestart | egrep -v "^($srcdir|/(dev|tmp)|/usr/(tmp|log|adm|run)|/etc/utmp|/var/run)" ) | pax -w -d | bzip2 >$tarbz rm -f $packagestart $findlist $tarcmd binsizes normal mv $tarbz $pdir diff --git a/commands/scripts/easypack.sh b/commands/scripts/easypack.sh index fbe63a9cf..bfe0581e2 100644 --- a/commands/scripts/easypack.sh +++ b/commands/scripts/easypack.sh @@ -105,6 +105,10 @@ do # Check to see if it exists. Don't overwrite unless -o given then echo Package $i installed else echo Package $i failed to install, see Log fi + if [ -f .postinstall ] + then echo Running postinstall script. + sh -e .postinstall + fi binsizes normal # Clean up