From: Chris Sharp Date: Wed, 6 Jan 2016 14:17:31 +0000 (-0500) Subject: updating pines ubuntu script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a4d45a227c86cf4f16f3008712ef911b3ae42a3c;p=contrib%2Fpines.git updating pines ubuntu script --- diff --git a/pines-ubuntu.sh b/pines-ubuntu.sh index 6f7c1b2..379a1dd 100755 --- a/pines-ubuntu.sh +++ b/pines-ubuntu.sh @@ -23,13 +23,13 @@ _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"