diff options
-rw-r--r-- | pcr/yacy/PKGBUILD | 13 | ||||
-rw-r--r-- | pcr/yacy/yacy.install | 7 |
2 files changed, 11 insertions, 9 deletions
diff --git a/pcr/yacy/PKGBUILD b/pcr/yacy/PKGBUILD index dfb0da061..69a94f9e8 100644 --- a/pcr/yacy/PKGBUILD +++ b/pcr/yacy/PKGBUILD @@ -1,12 +1,13 @@ -# Maintainer (Arch): Andreas B. Wagner <AndreasBWagner@pointfree.net> -# Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com> +# Maintainer (Arch): Nissar Chababy <funilrys at outlook dot com> +# Ex-Maintainer (Arch): Andreas B. Wagner <AndreasBWagner@pointfree.net> +# Ex-Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor (Arch): Dan Serban # Contributor (Arch): Florian Richter <Florian_Richter@gmx.de> pkgname=yacy -pkgver=1.90 -_pkgextraver=20160704_9000 -pkgrel=1 +pkgver=1.92 +_pkgextraver=20161226_9000 +pkgrel=2 pkgdesc="Peer to peer search engine" arch=('any') url=http://www.yacy.net/ @@ -18,7 +19,7 @@ source=("http://www.yacy.net/release/yacy_v${pkgver}_${_pkgextraver}.tar.gz" 'yacy.sh' 'yacy.service') options=(!emptydirs) -sha512sums=('d829be94fe22e770bd5b3586177f121b88558664dce3ee9b3caa9fada6d50d40c32d835e9b40f947f15c18a081d7d3f78fc111cb9508e9a26b28c34b78f3277f' +sha512sums=('476e185f4abbcbe988e1fa192b8d032d967ff29d25cca83d8493bc3b6a651519c61129ce54d7a9952ffdb011056cb734297a3497ec19ee58e25c650cef8c1684' 'ba15bcb3ee1873bae57881ca4d96f65ee1fa5b40cff0f0c21c542cad6a7983a057ec83faae9452b426d5441aad02f80e3633d1798d7f0d84a680ed2233adb11f' '754b6224ef2a640cbfb50a3d46e92c04955dac3e683239872d2a5c9ba92016a1511c6049903322dd8a21e6d2cc51e2f4e9bd3339b4ef4aada68ae20b3acc189b') diff --git a/pcr/yacy/yacy.install b/pcr/yacy/yacy.install index a8a964488..dbd350d17 100644 --- a/pcr/yacy/yacy.install +++ b/pcr/yacy/yacy.install @@ -1,7 +1,8 @@ -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/bin/useradd --comment 'YaCy P2P Searchengine' --system -g yacy --home '/usr/share/yacy/' -s /bin/false yacy + getent passwd yacy &>/dev/null || /usr/sbin/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 @@ -19,7 +20,7 @@ pre_remove() { echo echo -n ">>> Removing yacy system user and group... " getent passwd yacy &>/dev/null && - /usr/bin/userdel yacy &>/dev/null + /usr/sbin/userdel yacy &>/dev/null getent group yacy &>/dev/null && groupdel yacy &>/dev/null rm -f /usr/share/yacy/DATA |