diff options
author | felics@felics-tablet | 2016-09-21 13:44:37 +0200 |
---|---|---|
committer | felics@felics-tablet | 2016-09-21 13:44:37 +0200 |
commit | ce7309009c25f78d28d4f1f7190bf7b68496dda4 (patch) | |
tree | f22ce3865ad55b862ae6e507f065b62194a20e53 | |
parent | b61b8085f8f28bc23b58fec207e50f43d6c90e7d (diff) | |
download | aur-ce7309009c25f78d28d4f1f7190bf7b68496dda4.tar.gz |
Made install-script more informative, and cleaned it up.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | wwwoffle.install | 5 |
3 files changed, 5 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = wwwoffle-svn pkgdesc = Simple caching proxy server with special features (request, recursive fetch, abonnement, modify HTML, ...) for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd. pkgver = 2.9j+svn2227 - pkgrel = 3 + pkgrel = 4 epoch = 1 url = http://www.gedanken.org.uk/software/wwwoffle/ install = wwwoffle.install @@ -38,7 +38,7 @@ pkgbase = wwwoffle-svn sha256sums = 090329f13d8889a3e6e3b46b3f9de152eea0963b71c10a2a7dbafb7bb7e17120 sha256sums = 04fd88f2a100e3ff9a96da6a70e58457252722cbf6350ffdbf08f17e62b64869 sha256sums = 3938777ba2baa7faac569d4a4a8a8cb7adeef786cfa84e991b6f03e991bcfae8 - sha256sums = 5d31c140b112cf3fdd8069b4049bbd13fc91699d87086a3118381e21a3aa0f8e + sha256sums = c36b8868587f1f274bc6382fe6d2dd38c1575bf725f788b1624a67a062e8bce2 pkgname = wwwoffle-svn @@ -7,7 +7,7 @@ pkgname="${_pkgname}-svn" # _pkgver=2.9i epoch=1 pkgver=2.9j+svn2227 -pkgrel=3 +pkgrel=4 pkgdesc="Simple caching proxy server with special features (request, recursive fetch, abonnement, modify HTML, ...) for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd." arch=('i686' 'x86_64' 'arm' 'arm64') url="http://www.gedanken.org.uk/software/wwwoffle/" @@ -59,7 +59,7 @@ sha256sums=( '090329f13d8889a3e6e3b46b3f9de152eea0963b71c10a2a7dbafb7bb7e17120' # initscript_openrc '04fd88f2a100e3ff9a96da6a70e58457252722cbf6350ffdbf08f17e62b64869' # initscript_systemd '3938777ba2baa7faac569d4a4a8a8cb7adeef786cfa84e991b6f03e991bcfae8' # initscript_sysvinit - '5d31c140b112cf3fdd8069b4049bbd13fc91699d87086a3118381e21a3aa0f8e' # ${install} + 'c36b8868587f1f274bc6382fe6d2dd38c1575bf725f788b1624a67a062e8bce2' # ${install} ) _pgmver() { diff --git a/wwwoffle.install b/wwwoffle.install index 731f05aa6993..01d4966b0222 100644 --- a/wwwoffle.install +++ b/wwwoffle.install @@ -44,10 +44,10 @@ post_upgrade() { groupadd wwwoffle &> /dev/null fi if [ ! `grep -E '^wwwoffle\:' /etc/passwd` ]; then - id wwwoffle &> /dev/null || \ echo ">>> Adding user wwwoffle." useradd -g wwwoffle wwwoffle fi + echo ">>> Changing ownership of /var/spool/wwwoffle to wwwoffle:wwwoffle (recursively)." chown -R wwwoffle:wwwoffle /var/spool/wwwoffle } @@ -58,6 +58,3 @@ pre_remove() { groupdel wwwoffle &> /dev/null } -op=$1 -shift -$op $* |