diff options
Diffstat (limited to 'pcr/yacy')
-rw-r--r-- | pcr/yacy/PKGBUILD | 8 | ||||
-rw-r--r-- | pcr/yacy/yacy.install | 7 |
2 files changed, 7 insertions, 8 deletions
diff --git a/pcr/yacy/PKGBUILD b/pcr/yacy/PKGBUILD index f890998d9..dfb0da061 100644 --- a/pcr/yacy/PKGBUILD +++ b/pcr/yacy/PKGBUILD @@ -4,9 +4,9 @@ # Contributor (Arch): Florian Richter <Florian_Richter@gmx.de> pkgname=yacy -pkgver=1.82 -_pkgextraver=20150121_9000 -pkgrel=2 +pkgver=1.90 +_pkgextraver=20160704_9000 +pkgrel=1 pkgdesc="Peer to peer search engine" arch=('any') url=http://www.yacy.net/ @@ -18,7 +18,7 @@ source=("http://www.yacy.net/release/yacy_v${pkgver}_${_pkgextraver}.tar.gz" 'yacy.sh' 'yacy.service') options=(!emptydirs) -sha512sums=('cf76d19b76f68fac8fc3aa6478d09d3d071e4e0ecdc01475d43ec651bd38883b5a6b5e6abfc04e966e1cefd5785a709fbd6a20601d0275fa7ee27b00a012c7f9' +sha512sums=('d829be94fe22e770bd5b3586177f121b88558664dce3ee9b3caa9fada6d50d40c32d835e9b40f947f15c18a081d7d3f78fc111cb9508e9a26b28c34b78f3277f' 'ba15bcb3ee1873bae57881ca4d96f65ee1fa5b40cff0f0c21c542cad6a7983a057ec83faae9452b426d5441aad02f80e3633d1798d7f0d84a680ed2233adb11f' '754b6224ef2a640cbfb50a3d46e92c04955dac3e683239872d2a5c9ba92016a1511c6049903322dd8a21e6d2cc51e2f4e9bd3339b4ef4aada68ae20b3acc189b') diff --git a/pcr/yacy/yacy.install b/pcr/yacy/yacy.install index dbd350d17..a8a964488 100644 --- a/pcr/yacy/yacy.install +++ b/pcr/yacy/yacy.install @@ -1,8 +1,7 @@ -post_install() { - echo +post_install() { echo echo -n ">>> Creating yacy system user and group... " getent group yacy &>/dev/null || groupadd -r yacy - getent passwd yacy &>/dev/null || /usr/sbin/useradd --comment 'YaCy P2P Searchengine' --system -g yacy --home '/usr/share/yacy/' -s /bin/false yacy + getent passwd yacy &>/dev/null || /usr/bin/useradd --comment 'YaCy P2P Searchengine' --system -g yacy --home '/usr/share/yacy/' -s /bin/false yacy mkdir -p /var/lib/yacy chown -R yacy:yacy /var/lib/yacy /opt/yacy rm -f /usr/share/yacy/DATA @@ -20,7 +19,7 @@ pre_remove() { echo echo -n ">>> Removing yacy system user and group... " getent passwd yacy &>/dev/null && - /usr/sbin/userdel yacy &>/dev/null + /usr/bin/userdel yacy &>/dev/null getent group yacy &>/dev/null && groupdel yacy &>/dev/null rm -f /usr/share/yacy/DATA |