Commits

Anonymous committed e95a3de

fixed typo
Signed-off-by: vector <veclinux@mail.com>

  • Participants
  • Parent commits 70c2b6c

Comments (0)

Files changed (1)

File var/vabs/flashplugin/src/flashplugin.SlackBuild

   CONFIGURE_TRIPLET="i586-vector-linux"
   LIBDIRSUFFIX=""
   SRCARCH=i386
-  LINK=${LINK:-"http://fpdownload.macromedia.com/get/flashplayer/pdc/$VERSION/install_flash_player_${VERSION}_linux_$SRCARCH.tar.gz"}  #Enter URL for package here!
+  LINK=${LINK:-"http://fpdownload.macromedia.com/get/flashplayer/pdc/$VERSION/install_flash_player_${VERS_MAJ}_linux_$SRCARCH.tar.gz"}  #Enter URL for package here!
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
   CONFIGURE_TRIPLET="x86_64-vlocity-linux"
   LIBDIRSUFFIX="64"
   SRCARCH=x86_64
-  LINK=${LINK:-"http://fpdownload.macromedia.com/get/flashplayer/pdc/$VERSION/install_flash_player_${VERSION}_linux_$SRCARCH.tar.gz"}  #Enter URL for package here!
+  LINK=${LINK:-"http://fpdownload.macromedia.com/get/flashplayer/pdc/$VERSION/install_flash_player_${VERS_MAJ}_linux_$SRCARCH.tar.gz"}  #Enter URL for package here!
 elif [ "$ARCH" = "powerpc" ]; then
   SLKCFLAGS="-O2"
   CONFIGURE_TRIPLET="powerpc-vlocity-linux"
 #EXTRACT SOURCES
 #-----------------------------------------------------
 echo "Extracting source..."
-tar xvf $CWD/install_flash_player_${VERS_MAJ}_linux_${SRCARCH}.tar.gz -C $PKG
+tar xvf $CWD/install_flash_player_${VERS_MAJ}_linux_${SRCARCH}.tar.gz -C $PKG || exit 1
 #-----------------------------------------------------