From 617484d23dc46b4043a65f1fb089c33a0580cbf8 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 28 Sep 2017 12:19:39 -0500 Subject: Removing ryzom --- pcr/ryzom-data/ryzomdata-update.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 pcr/ryzom-data/ryzomdata-update.sh (limited to 'pcr/ryzom-data/ryzomdata-update.sh') diff --git a/pcr/ryzom-data/ryzomdata-update.sh b/pcr/ryzom-data/ryzomdata-update.sh deleted file mode 100755 index ff59cf779..000000000 --- a/pcr/ryzom-data/ryzomdata-update.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/sh -# To the extent possible under law, Jorge Araya Navarro has waived all copyright and related or -# neighboring rights to ryzomdata-update.sh. This work is published from: Costa Rica. - -error() { - printf '\E[31m'; echo "$@"; printf '\E[0m' -} - -if [[ $(id -u) -ne 0 ]] ; then - error "Please run as root" ; - exit 1 ; -fi - -# if running as root, then start the update. -if [ -d "/usr/share/ryzom/data/" ]; then - cd /usr/share/ryzom/data - msg "Updating the official Ryzom game data, this can take a while..." - rsync -rtzvu --progress --stats --recursive --timeout=30 www.ryzom.com::ryzom/data/ ./ - msg 'Update completed...' -else - error "Seems that /usr/share/ryzom/data does not exists. Please install ryzom-data package using pacman." -fi -- cgit v1.2.3