X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-flashplugin;h=27e127179fa51dd024f8f15c0341acd4e4193275;hb=5b913b7b528bb69a0c90583b8776d6d26b9cb189;hp=433658f61fd3b03a4b8ec6c356cd3f46d0c05c3c;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage3/cis-flashplugin b/stage3/cis-flashplugin index 433658f..27e1271 100755 --- a/stage3/cis-flashplugin +++ b/stage3/cis-flashplugin @@ -1,4 +1,6 @@ #!/bin/sh +set -o errexit + # First argument of this script is the package name. # Reading system configuration informations, functions and package versions. @@ -9,20 +11,19 @@ source ../packages-list PLUGINS_DIR=/usr/lib/firefox/plugins # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} # Decompression of a package # First argument: package name # Second argument: directory where decompressing (optional) -decompress_package ${1} && +decompress_package ${1} if [ ! -d ${PLUGINS_DIR} ]; then echo "Plugins directory not found." return 1 -fi && +fi -install -v -m755 ${LFS_TMP}/${1}/flashplayer.xpt ${PLUGINS_DIR} && +install -v -m755 ${LFS_TMP}/${1}/flashplayer.xpt ${PLUGINS_DIR} install -v -m755 ${LFS_TMP}/${1}/libflashplayer.so ${PLUGINS_DIR} -# Return last error exit $?