From 4bf4f979baa14d94fb2bc1b4abe30dbc83aa2260 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 16 Nov 2009 11:32:47 +0700 Subject: [PATCH] typo ; test before mv --- xap/google-chrome/google-chrome.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xap/google-chrome/google-chrome.SlackBuild b/xap/google-chrome/google-chrome.SlackBuild index 0bfe867a..d7d50987 100755 --- a/xap/google-chrome/google-chrome.SlackBuild +++ b/xap/google-chrome/google-chrome.SlackBuild @@ -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