Remove DaVinci Installer files upon successful install.
This commit is contained in:
parent
501cb9ce47
commit
aa564d4b70
@ -6,8 +6,10 @@ if [ -z "$1" ]; then
|
|||||||
read -rp "Once the download is finished, press Enter to continue..."
|
read -rp "Once the download is finished, press Enter to continue..."
|
||||||
read -rp "Path to zip file: " zip_path
|
read -rp "Path to zip file: " zip_path
|
||||||
unzip -q "$zip_path" -d ~/Downloads/DaVinci_Resolve
|
unzip -q "$zip_path" -d ~/Downloads/DaVinci_Resolve
|
||||||
|
rm -f "$zip_path"
|
||||||
else
|
else
|
||||||
unzip -q "$1" -d ~/Downloads/DaVinci_Resolve
|
unzip -q "$1" -d ~/Downloads/DaVinci_Resolve
|
||||||
|
rm -f "$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod +x ~/Downloads/DaVinci_Resolve/*.run
|
chmod +x ~/Downloads/DaVinci_Resolve/*.run
|
||||||
@ -17,3 +19,4 @@ sudo mkdir -p /opt/resolve/libs/disabled-libraries/
|
|||||||
sudo mv /opt/resolve/libs/libglib* /opt/resolve/libs/disabled-libraries
|
sudo mv /opt/resolve/libs/libglib* /opt/resolve/libs/disabled-libraries
|
||||||
sudo mv /opt/resolve/libs/libgio* /opt/resolve/libs/disabled-libraries
|
sudo mv /opt/resolve/libs/libgio* /opt/resolve/libs/disabled-libraries
|
||||||
sudo mv /opt/resolve/libs/libgmodule* /opt/resolve/libs/disabled-libraries
|
sudo mv /opt/resolve/libs/libgmodule* /opt/resolve/libs/disabled-libraries
|
||||||
|
rm -rf ~/Downloads/DaVinci_Resolve
|
||||||
|
Loading…
Reference in New Issue
Block a user