diff options
Diffstat (limited to 'shared')
-rwxr-xr-x | shared/updates.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/shared/updates.sh b/shared/updates.sh index 29b26ad..7ad2ecc 100755 --- a/shared/updates.sh +++ b/shared/updates.sh @@ -9,22 +9,22 @@ if [[ $code -eq 0 ]]; then else echo "updater: Failed with code $code" echo "updater: Cleaning up..." - rm -dr trunk.zip* + rm -dr neutron-trunk.zip* exit $code fi echo "updater: Extracting..." mkdir -p ./public -rm -dr ./Neutron-trunk -unzip trunk.zip +rm -dr ./neutron-trunk +unzip neutron-trunk.zip code=$? if [[ $code -eq 0 || $code -eq 2 ]]; then echo "updater: Success" else echo "updater: Failed with code $code" echo "updater: Cleaning up..." - rm -dr trunk.zip* + rm -dr neutron-trunk.zip* exit $code fi @@ -44,25 +44,25 @@ rm -dr ./public/index.php echo "updater: Installing..." -cp -r Neutron-trunk/* ./public/ +cp -r neutron-trunk/* ./public/ code=$? if [[ $code -eq 0 ]]; then echo "updater: Success" else echo "updater: Failed with code $code" echo "updater: Cleaning up..." - rm -dr trunk.zip* + rm -dr neutron-trunk.zip* exit $code fi -rm -dr Neutron-trunk/ +rm -dr neutron-trunk/ code=$? if [[ $code -eq 0 ]]; then echo "updater: Success" else echo "updater: Failed with code $code" echo "updater: Cleaning up..." - rm -dr trunk.zip* + rm -dr neutron-trunk.zip* exit $code fi @@ -73,9 +73,9 @@ if [[ $code -eq 0 ]]; then else echo "updater: Failed with code $code" echo "updater: Cleaning up..." - rm -dr trunk.zip* + rm -dr neutron-trunk.zip* exit $code fi echo "updater: Cleaning up..." -rm -dr trunk.zip* +rm -dr neutron-trunk.zip* |