From 3fc5d626be0d554340607e43f1e0c473a05d762d Mon Sep 17 00:00:00 2001 From: Rick Date: Sun, 13 Nov 2016 12:39:00 +0000 Subject: [PATCH] Bugfix - package scripts were never added --- BuildFiles/Packaging/scripts/repackage-build-package | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/BuildFiles/Packaging/scripts/repackage-build-package b/BuildFiles/Packaging/scripts/repackage-build-package index bb46e910..f4f487ab 100755 --- a/BuildFiles/Packaging/scripts/repackage-build-package +++ b/BuildFiles/Packaging/scripts/repackage-build-package @@ -96,8 +96,6 @@ if [ "$COPYFILES" == "yes" ]; then rm -rf $DEPLOYDIR/$TARGETDIR/staging fi - # LEAVE FOR THE NIGHT: Verify that the etcinitd files are copied on Backend build - if [ -d $SOURCEDIR/etcinitd ]; then echo "Adding /etc/init.d files..." mkdir -p etc/init.d @@ -130,7 +128,7 @@ fi cp ../../templates/control-$PACKAGENAME.template DEBIAN/control cp ../../templates/conffiles-$PACKAGE.template DEBIAN/conffiles -if [ -e "../templates/prerm-$PACKAGE.template" ]; then +if [ -e "../../templates/prerm-$PACKAGE.template" ]; then echo "Adding $PACKAGE prerm script..." cp ../../templates/prerm-$PACKAGE.template DEBIAN/prerm chmod +x DEBIAN/prerm @@ -141,7 +139,7 @@ else fi fi -if [ -e "../templates/postinst-$PACKAGE.template" ]; then +if [ -e "../../templates/postinst-$PACKAGE.template" ]; then echo "Adding $PACKAGE postinst script..." cp ../../templates/postinst-$PACKAGE.template DEBIAN/postinst chmod +x DEBIAN/postinst @@ -152,7 +150,7 @@ else fi fi -if [ -e "../templates/preinst-$PACKAGE.template" ]; then +if [ -e "../../templates/preinst-$PACKAGE.template" ]; then echo "Adding $PACKAGE preinst script..." cp ../../templates/preinst-$PACKAGE.template DEBIAN/preinst chmod +x DEBIAN/preinst