mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Merge main into install-codeql-bundle.
This commit is contained in:
16
images/linux/scripts/installers/post-deployment.sh
Normal file
16
images/linux/scripts/installers/post-deployment.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: post-deployment.sh
|
||||
## Desc: Post deployment actions
|
||||
################################################################################
|
||||
|
||||
# set chmod -R 777 /opt
|
||||
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
|
||||
Reference in New Issue
Block a user