rm helper and installer folder in post-deployment

This commit is contained in:
Aleksandr Chebotov
2020-09-22 13:55:21 +03:00
parent d4335cc52e
commit fe9f74e51e
4 changed files with 41 additions and 48 deletions

View File

@@ -9,3 +9,8 @@ if [[ -d "/opt" ]]; then
echo "chmod -R 777 /opt"
chmod -R 777 /opt
fi
# remove installer and helper folders
rm -rf $HELPER_SCRIPT_FOLDER
rm -rf $INSTALLER_SCRIPT_FOLDER
chmod 755 $IMAGE_FOLDER