diff --git a/compilators/debian/nginx/nginx-compile.sh b/compilators/debian/nginx/nginx-compile.sh index e4d46d7..95e9947 100644 --- a/compilators/debian/nginx/nginx-compile.sh +++ b/compilators/debian/nginx/nginx-compile.sh @@ -36,8 +36,8 @@ 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 +sudo chmod +x $PACKAGE_MAIN_DIR/DEBIAN/postinst +sudo chmod +x $PACKAGE_MAIN_DIR/DEBIAN/postrm # Copy ALPHAX series files sudo cp $MAIN_DIR/alphax $PACKAGE_MAIN_DIR/etc/init.d/alphax