get-scripts rev 29
fix dropbox
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 23 17:28:06 2014 +0100 (2014-11-23) |
parents | 48c3ef68bd4f |
children | 3f35c83c536c |
files | dropbox geogebra speedtouch-firmware |
line diff
1.1 --- a/dropbox Fri Nov 21 08:55:47 2014 +0100 1.2 +++ b/dropbox Sun Nov 23 17:28:06 2014 +0100 1.3 @@ -4,10 +4,10 @@ 1.4 SUGGESTED="ntlmaps" 1.5 PLATFORM="lnx.x86" # or lnx.x86_64 1.6 TARBALL=$PACKAGE-$PLATFORM.tar.gz 1.7 -URL="$WEB_SITE/download/?plat=$PLATFORM" 1.8 +WGET_URL="$WEB_SITE/download/?plat=$PLATFORM" 1.9 1.10 # Download the file 1.11 -wget --no-check-certificate -O $TARBALL $URL 1.12 +wget --no-check-certificate -O $TARBALL $WGET_URL 1.13 1.14 [ -f $TARBALL ] || abort_package "Could not download $TARBALL. Exiting." 1.15 1.16 @@ -22,13 +22,8 @@ 1.17 $PACKAGE-$VERSION/fs/usr/share/pixmaps 1.18 1.19 mv $TMP_DIR/.dropbox-dist $PACKAGE-$VERSION/fs/usr/lib/dropbox 1.20 - 1.21 -# Custom Dropboxd 1.22 -cat > $PACKAGE-$VERSION/fs/usr/lib/dropbox/dropboxd << "EOT" 1.23 -#!/bin/sh 1.24 -PAR=/usr/lib/dropbox 1.25 -LD_LIBRARY_PATH=$PAR:$LD_LIBRARY_PATH exec $PAR/dropbox $@ 1.26 -EOT 1.27 +mv -f $PACKAGE-$VERSION/fs/usr/lib/dropbox/dropbox-$PLATFORM*/* \ 1.28 + $PACKAGE-$VERSION/fs/usr/lib/dropbox 1.29 1.30 # Desktop file 1.31 cat > $PACKAGE-$VERSION/fs/usr/share/applications/dropbox.desktop << EOT
2.1 --- a/geogebra Fri Nov 21 08:55:47 2014 +0100 2.2 +++ b/geogebra Sun Nov 23 17:28:06 2014 +0100 2.3 @@ -1,11 +1,11 @@ 2.4 WEB_SITE="http://www.geogebra.org/cms/en/" 2.5 DEPENDS="bash java-jre ncurses" 2.6 -URL=http://www.geogebra.org/installers/deb.php 2.7 +WGET_URL=http://www.geogebra.org/installers/deb.php 2.8 TARBALL=geogebra.deb 2.9 2.10 -wget -O $TARBALL $URL 2.11 +wget -O $TARBALL $WGET_URL 2.12 2.13 -[ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." 2.14 +[ -f $TARBALL ] || abort_package "Could not download $TARBALL from $WGET_URL. Exiting." 2.15 2.16 mkdir $PACKAGE 2.17 dpkg-deb -e $TARBALL $PACKAGE/meta
3.1 --- a/speedtouch-firmware Fri Nov 21 08:55:47 2014 +0100 3.2 +++ b/speedtouch-firmware Sun Nov 23 17:28:06 2014 +0100 3.3 @@ -6,12 +6,12 @@ 3.4 SHORT_DESC="Firmware for SpeedTouch ADSL Modem." 3.5 WEB_SITE="http://www.linux-usb.org/SpeedTouch/" 3.6 #http://speedtouch.hysplace.co.uk/firmware.htm 3.7 -#URL="http://www.speedtouch.com/download/drivers/USB/$TARBALL" 3.8 +#WGET_URL="http://www.speedtouch.com/download/drivers/USB/$TARBALL" 3.9 #from http://www.filewatcher.com/m/SpeedTouch330_firmware_3012.zip.769125-0.html 3.10 -URL="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/$TARBALL" 3.11 -wget $URL 3.12 +WGET_URL="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/$TARBALL" 3.13 +wget $WGET_URL 3.14 [ $TARBALL ] || abort_package "Could not download $TARBALL. Exiting." 3.15 -unzip -n $(basename $URL) 3.16 +unzip -n $(basename $WGET_URL) 3.17 wget http://www.linux-usb.org/SpeedTouch/firmware/firmware-extractor.tar.gz 3.18 tar xzf firmware-extractor.tar.gz 3.19 cd firmware-extractor/