ALT Linux repos
S: | 118.0-alt1 |
5.0: | 3.0.9-alt1.M50.1 |
4.1: | 3.0.9-alt0.M41.1 |
+updates: | 3.0.4-alt0.M41.2 |
4.0: | 2.0.0.18-alt0.M40.1 |
3.0: | 1.0.7-alt3 |
+updates: | 1.0.8-alt0.M30.1 |
Group :: Networking/WWW
RPM: firefox
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#! /bin/sh -e
PROG="${0##*/}"
firefox_bin="@firefox_bin@"
firefox_run="@firefox_run@"
firefox_scriptdir="@firefox_scriptdir@"
firefox_extensionsdir="@firefox_extensionsdir@"
error() {
printf "%s: Error: %s\n" "$PROG" "$*" >&2
}
fatal() {
printf "%s: Fatal: %s\n" "$PROG" "$*" >&2
exit 1
}
[ -x "$firefox_bin" ] || fatal "not executable: $firefox_bin"
[ -d "$firefox_extensionsdir" ] || fatal "not directory: $firefox_extensionsdir"
[ -d "$firefox_scriptdir" ] || fatal "not directory: $firefox_scriptdir"
# Update installation
"$firefox_scriptdir/firefox_register.sh" "$firefox_bin"
# Finish extensions installation
find "$firefox_extensionsdir/" -mindepth 1 -maxdepth 1 -type d -name '{*}' |
while read ext; do
"$firefox_scriptdir/install_global_extension.sh" "$firefox_run" "$firefox_bin" "$ext" ||
error "Cannot finish installation: ${ext##*/}"
done