X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/ff7c88561a82ed09c86a1bb6f857063f39b1837d..91e0fccb96d28028d78ea41e34c1990585048d3b:/tools/make/configure diff --git a/tools/make/configure b/tools/make/configure index 32b2558..3dfa084 100755 --- a/tools/make/configure +++ b/tools/make/configure @@ -111,12 +111,15 @@ else echo " this file is necessary for any package production." fi -# check for postinst -postinst=$(find src -name $paket.postinst) -if [ -n "$postinst" ] -then - ln -sf $postinst . -fi +# check for installation scripts +files=$(find src -name $paket.preinst) +files="$files $(find src -name $paket.postinst)" +files="$files $(find src -name $paket.prerm)" +files="$files $(find src -name $paket.postrm)" +for file in $files +do + ln -sf $file . +done # create generic make.pre, if not existing if [ ! -f make.pre ]