]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorBen Gras <ben@minix3.org>
Wed, 22 Mar 2006 19:39:26 +0000 (19:39 +0000)
committerBen Gras <ben@minix3.org>
Wed, 22 Mar 2006 19:39:26 +0000 (19:39 +0000)
commands/scripts/binpackage.sh
commands/scripts/easypack.sh

index b39e5e46fe0085b89de4520af8f6ff87284209aa..f3e6abce855c410f39d43d9d71f437d9db4c7b85 100644 (file)
@@ -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
index fbe63a9cfc7b2b77060f452db74c6b43237fc1af..bfe0581e220eab94be44c34278aef284887abe1c 100644 (file)
@@ -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