Fix for cache copy
This commit is contained in:
@@ -45,7 +45,7 @@ yes | sudo cp -rf "Game/Launcher/dist/Open_RSC_Launcher.jar" "Website/downloads/
|
|||||||
# Cache
|
# Cache
|
||||||
clear
|
clear
|
||||||
echo "Preparing the cache."
|
echo "Preparing the cache."
|
||||||
yes | sudo cp -rf "Game/client/Cache/" "Website/downloads/cache" | tee -a updater.log &>/dev/null
|
yes | sudo cp -a -rf "Game/client/Cache/." "Website/downloads/cache/" | tee -a updater.log &>/dev/null
|
||||||
sudo rm Website/downloads/cache/MD5CHECKSUM | tee -a updater.log &>/dev/null
|
sudo rm Website/downloads/cache/MD5CHECKSUM | tee -a updater.log &>/dev/null
|
||||||
sudo touch Website/downloads/cache/MD5CHECKSUM && sudo chmod 777 Website/downloads/cache/MD5CHECKSUM | tee updater.log | &>/dev/null
|
sudo touch Website/downloads/cache/MD5CHECKSUM && sudo chmod 777 Website/downloads/cache/MD5CHECKSUM | tee updater.log | &>/dev/null
|
||||||
md5sum Website/downloads/cache/* | sed 's/Website\/downloads\/cache\///g' | grep ^[a-zA-Z0-9]* | awk '{print $2"="$1}' | tee Website/downloads/cache/MD5CHECKSUM | tee -a updater.log &>/dev/null
|
md5sum Website/downloads/cache/* | sed 's/Website\/downloads\/cache\///g' | grep ^[a-zA-Z0-9]* | awk '{print $2"="$1}' | tee Website/downloads/cache/MD5CHECKSUM | tee -a updater.log &>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user