summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordr460nf1r32022-03-05 10:15:32 +0100
committerdr460nf1r32022-03-05 10:15:32 +0100
commit8efac9072a0330d93608ad47b420f79ec36e15c0 (patch)
treeb715584e3d65428a7fc2a2469fb7cfcdf3bff54f
parentef0a0014296721eabbc1bfb51bfae3cd3982051e (diff)
downloadaur-8efac9072a0330d93608ad47b420f79ec36e15c0.tar.gz
A little more handholding
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--whoogle.install11
3 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1bf1805016e3..242746db5d11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = whoogle
pkgdesc = A self-hosted, ad-free, privacy-respecting metasearch engine
pkgver = 0.7.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/benbusby/whoogle-search
install = whoogle.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5c3f14f81da1..abf14e68bcbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=whoogle
pkgver=0.7.1
-pkgrel=2
+pkgrel=3
pkgdesc='A self-hosted, ad-free, privacy-respecting metasearch engine'
arch=(x86_64 aarch64)
url="https://github.com/benbusby/whoogle-search"
diff --git a/whoogle.install b/whoogle.install
index f76117cfea86..018c523d9cee 100644
--- a/whoogle.install
+++ b/whoogle.install
@@ -1,13 +1,12 @@
post_install() {
- mkdir -p /opt/whoogle-search/app/static
- chown -R whoogle.whoogle /opt/whoogle-search/app/static
- echo ""
- echo "Enable the SystemD unit and visit localhost:5000 to start searching!"
- echo ""
+ mkdir -p /opt/whoogle-search/
+ chown -R whoogle:whoogle /opt/whoogle-search/
+ echo "Enable the systemd unit and visit localhost:5000 to start searching!"
+ echo "If the search engine can't be reached, execute 'chown -R whoogle:whoogle /opt/whoogle-search/' to fix permissions."
}
post_upgrade() {
- chown -R whoogle.whoogle /opt/whoogle-search/app/static/
+ chown -R whoogle:whoogle /opt/whoogle-search/
}
post_remove() {