Anonymous avatar Anonymous committed e95a3de

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

Comments (0)

Files changed (1)

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
 #-----------------------------------------------------
 
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.