typo ; test before mv

This commit is contained in:
Gwenhael Le Moine 2009-11-16 11:32:47 +07:00
parent ae23d6fc1d
commit 4bf4f979ba

View file

@ -4,7 +4,7 @@
# http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_amd64_deb
# or
# wget -c http://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb
# but really you need to accept the EULA in the forst link ;)
# but really you need to accept the EULA in the first link ;)
CWD=$(pwd)
@ -20,8 +20,8 @@ PREFIX=/usr
rm -fr $PKG
# mv $PRGNAM-${VERSION}_$( [ $ARCH = "x86_64" ] && echo amd64 || echo i386).deb $PRGNAM-${VERSION}_$( [ $ARCH = "x86_64" ] && echo amd64 || echo i386).deb.orig
# wget -c http://dl.google.com/linux/direct/$PRGNAM-${VERSION}_$( [ $ARCH = "x86_64" ] && echo amd64 || echo i386).deb
#[ -e $PRGNAM-${VERSION}_$( [ $ARCH = "x86_64" ] && echo amd64 || echo i386).deb ] && mv $PRGNAM-${VERSION}_$( [ $ARCH = "x86_64" ] && echo amd64 || echo i386).deb $PRGNAM-${VERSION}_$( [ $ARCH = "x86_64" ] && echo amd64 || echo i386).deb.orig
#wget -c http://dl.google.com/linux/direct/$PRGNAM-${VERSION}_$( [ $ARCH = "x86_64" ] && echo amd64 || echo i386).deb
mkdir -p $PKG$PREFIX/libexec/$PRGNAM
( cd $PKG$PREFIX/libexec/$PRGNAM