diff options
Diffstat (limited to 'network/pentadactyl/pentadactyl.SlackBuild')
-rw-r--r-- | network/pentadactyl/pentadactyl.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/network/pentadactyl/pentadactyl.SlackBuild b/network/pentadactyl/pentadactyl.SlackBuild index 500b429c97..a85f05559c 100644 --- a/network/pentadactyl/pentadactyl.SlackBuild +++ b/network/pentadactyl/pentadactyl.SlackBuild @@ -25,7 +25,7 @@ SRCNAM=dactyl PRGNAM=pentadactyl VERSION=${VERSION:-1.2pre} -SRCREV=1ab9ca24c320 +SRCREV=59c43695e9ee BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,8 +67,9 @@ make -C $PRGNAM xpi # Get the currently installed Firefox version (handle the case where multiple versions # are installed by taking the first). -FIREFOX=${FIREFOX:-`/bin/ls -f -1 -d /usr/lib$LIBDIRSUFFIX/firefox-* | head -n 1 | sed 's/.*firefox-\([0-9.]*\)/\1/'`} +FIREFOX=`firefox --version | sed "s/[^0-9.]*//"` EXT_DIR=/usr/lib$LIBDIRSUFFIX/firefox-$FIREFOX/browser/extensions/pentadactyl\@dactyl.googlecode.com + mkdir -p "$PKG/$EXT_DIR" unzip -d "$PKG/$EXT_DIR" downloads/$PRGNAM-$VERSION.xpi |