diff --git a/compilators/debian/nginx/nginx-compile.sh b/compilators/debian/nginx/nginx-compile.sh index ece7cb5..e4d46d7 100644 --- a/compilators/debian/nginx/nginx-compile.sh +++ b/compilators/debian/nginx/nginx-compile.sh @@ -35,6 +35,10 @@ sudo cp $MAIN_DIR/control $PACKAGE_MAIN_DIR/DEBIAN sudo cp $MAIN_DIR/postinst $PACKAGE_MAIN_DIR/DEBIAN sudo cp $MAIN_DIR/postrm $PACKAGE_MAIN_DIR/DEBIAN +# Set debian package post files permissions +chmod +x $PACKAGE_MAIN_DIR/DEBIAN/postinst +chmod +x $PACKAGE_MAIN_DIR/DEBIAN/postrm + # Copy ALPHAX series files sudo cp $MAIN_DIR/alphax $PACKAGE_MAIN_DIR/etc/init.d/alphax sudo chmod +x $PACKAGE_MAIN_DIR/etc/init.d/alphax