#!/bin/sh # First argument of this script is the package name. # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list PLUGINS_DIR=/usr/lib/firefox/plugins # Applying patches (if any) apply_patches ${1} && # Decompression of a package # First argument: package name # Second argument: directory where decompressing (optional) decompress_package ${1} && if [ ! -d ${PLUGINS_DIR} ]; then echo "Plugins directory not found." return 1 fi && install -v -m755 ${LFS_TMP}/${1}/flashplayer.xpt ${PLUGINS_DIR} && install -v -m755 ${LFS_TMP}/${1}/libflashplayer.so ${PLUGINS_DIR} # Return last error exit $?