diff --git a/images/linux/scripts/installers/post-deployment.sh b/images/linux/scripts/installers/post-deployment.sh index 3af0bdcfb..255c24419 100644 --- a/images/linux/scripts/installers/post-deployment.sh +++ b/images/linux/scripts/installers/post-deployment.sh @@ -11,9 +11,6 @@ chmod -R 777 /opt echo "chmod -R 777 /usr/share" chmod -R 777 /usr/share -# remove installer and helper folders -rm -rf $HELPER_SCRIPT_FOLDER -rm -rf $INSTALLER_SCRIPT_FOLDER chmod 755 $IMAGE_FOLDER # Remove quotes around PATH diff --git a/images/macos/provision/configuration/finalize-vm.sh b/images/macos/provision/configuration/finalize-vm.sh index 1fa346d0a..55c3f4924 100644 --- a/images/macos/provision/configuration/finalize-vm.sh +++ b/images/macos/provision/configuration/finalize-vm.sh @@ -32,7 +32,7 @@ if ! is_Ventura; then yarn cache clean fi # Clean up temporary directories -sudo rm -rf ~/utils ~/image-generation /tmp/* +sudo rm -rf ~/utils /tmp/* # Erase all indexes and wait until the rebuilding process ends, # for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish