summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2017-08-15 22:04:57 -0400
committerChris Severance2017-08-15 22:04:57 -0400
commitd2c7b3bae6e263080e067884473f1812b6a959f1 (patch)
tree1696c1cb439672e21c9b91de622282fc605197bf
parent6cf7d3c8253a1276178e839e388bdb529ba09c40 (diff)
downloadaur-d2c7b3bae6e263080e067884473f1812b6a959f1.tar.gz
Fix ghostscript upgrade detection
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0d1c669cb6..5c76b619481 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Jul 22 02:33:52 UTC 2017
+# Wed Aug 16 02:04:38 UTC 2017
pkgbase = hylafaxplus
pkgdesc = Enterprise Fax Server
pkgver = 5.5.9
- pkgrel = 2
+ pkgrel = 3
url = http://hylafax.sourceforge.net/
install = hylafax.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index aa74d6d0cec..4e7d03ec39f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -173,7 +173,7 @@ set -u
pkgname='hylafaxplus'
_pkgnick='hylafax'
pkgver='5.5.9'
-pkgrel='2'
+pkgrel='3'
_sendfaxvsicommit='18fabc74490362cd26690331d546d727c727db25'
pkgdesc='Enterprise Fax Server'
arch=('i686' 'x86_64')
@@ -640,14 +640,14 @@ EOF
set -e
set -u
-newfolder=(/usr/share/ghostscript/*/Resource/)
+newfolder=(/usr/share/ghostscript/[0-9]*/Resource/)
if [ "\${EUID}" -eq 0 ]; then
if [ "\${#newfolder[@]}" -ne 1 ]; then
echo "\$0: unable to upgrade ghostscript folder"
else
newfolder="\${newfolder%/}"
newfolder="\${newfolder%/*}/"
- sed -e "s:/usr/share/ghostscript/[^/]\+/:\${newfolder}:g" -i '/usr/lib/fax/hyla.conf' '/var/spool/hylafax/etc/setup.cache'
+ sed -e "s:/usr/share/ghostscript/[0-9][^/]\+/:\${newfolder}:g" -i '/usr/lib/fax/hyla.conf' '/var/spool/hylafax/etc/setup.cache'
fi
fi
EOF