updating pines ubuntu script
authorChris Sharp <csharp@georgialibraries.org>
Wed, 6 Jan 2016 14:17:31 +0000 (09:17 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 6 Jan 2016 14:17:31 +0000 (09:17 -0500)
pines-ubuntu.sh

index 6f7c1b2..379a1dd 100755 (executable)
 _VERSION="0.08"
 export WORKDIR=`pwd`
 ARCH=`uname -p`
-export CLIENT="2.5.1pines.0_$ARCH.tar.bz2"
+export CLIENT="2.7.2pines.0_$ARCH.tar.bz2"
 export CLIENT_URL_BASE="http://gapines.org/updates/clients"
 export CLIENT_DIR="$HOME/Evergreen_Staff_Client"
 UBUNTU_VERSION=`lsb_release -r | cut -d':' -f2 | sed 's/\t//g'`
 DESKTOP="$HOME/Desktop"
 DE="$DESKTOP_SESSION"
-EPSON_URL="https://pos.epson.com/developers/LicenseAgreement.htm?AssetId=28724"
+EPSON_URL="https://ftp.epson.com/drivers/pos/tmx-cups-2.0.0.0.zip"
 export DOWNLOAD_DIR="$HOME/Downloads"
 export EPSON_ARCHIVE="tmx-cups-2.0.0.0.zip"
 export EPSON_UNZIP_DIR="tmx-cups-2.0.0.0"
@@ -124,11 +124,11 @@ if [ -e $DOWNLOAD_DIR/$EPSON_ARCHIVE ]; then
     echo
     zenity --window-icon="$CLIENT_DIR/evergreen-0.png" --title="$PRG_NAME" --height="50" --width="350" --timeout="2" --no-wrap --info --text="Starting Epson installer."
     if [ "$ARCH" = "i386" ] || [ "$ARCH" = "i686" ]; then
-       zenity --window-icon="$CLIENT_DIR/evergreen-0.png" --title="$PRG_NAME" --height="50" --width="350" --no-wrap --info --text="Choose Ubuntu 12.04 (32-bit) when prompted by the installer script."
+       zenity --window-icon="$CLIENT_DIR/evergreen-0.png" --title="$PRG_NAME" --height="50" --width="350" --no-wrap --info --text="Choose Ubuntu 14.04 (32-bit) when prompted by the installer script."
     elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
-       zenity --window-icon="$CLIENT_DIR/evergreen-0.png" --title="$PRG_NAME" --height="50" --width="350" --no-wrap --info --text="Choose Ubuntu 12.04 (64-bit) when prompted by the installer script."
+       zenity --window-icon="$CLIENT_DIR/evergreen-0.png" --title="$PRG_NAME" --height="50" --width="350" --no-wrap --info --text="Choose Ubuntu 14.04 (64-bit) when prompted by the installer script."
     else
-       zenity --window-icon="$CLIENT_DIR/evergreen-0.png" --title="$PRG_NAME" --height="50" --width="350" --no-wrap --info --text="System architecture not detected.  Please choose Ubuntu 12.04 for\nyour system's architecture when prompted by the installer script"
+       zenity --window-icon="$CLIENT_DIR/evergreen-0.png" --title="$PRG_NAME" --height="50" --width="350" --no-wrap --info --text="System architecture not detected.  Please choose Ubuntu 14.04 for\nyour system's architecture when prompted by the installer script"
     fi
     chmod 755 $HOME/$EPSON_DIR/install.sh
     xterm $TERM_SET -e "echo Installing Epson Driver;echo;echo;echo Keystrokes will not be displayed when typing your password;./install.sh && echo Installation Complete;sleep 2"