summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authork0n24d2016-07-01 15:44:15 +0200
committerk0n24d2016-07-01 15:44:15 +0200
commit71e0a7adc5e18d3561b101a8f63ef1800a3e3fee (patch)
treec7cbbd6c4c6546c483ae29f2b79a2c31f3062d64
parent910c1797bea83c2ff5dc8b9c63357a2801acdb97 (diff)
downloadaur-71e0a7adc5e18d3561b101a8f63ef1800a3e3fee.tar.gz
Correct some file mode bits, thanks cfstras
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0fcdabfd2fb..1c1caafa1a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = urbackup2-server
pkgdesc = Client Server backup system
pkgver = 2.0.30
- pkgrel = 1
+ pkgrel = 2
url = http://www.urbackup.org/
install = urbackup.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index cbae6f750d1..2150eba6892 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: K0n24d <konrad AT knauber DOT net>
pkgname=urbackup2-server
pkgver=2.0.30
-pkgrel=1
+pkgrel=2
pkgdesc="Client Server backup system"
arch=('i686' 'x86_64' 'armv5' 'armv6h' 'armv6' 'armv7h' 'armv7' 'aarch64')
url="http://www.urbackup.org/"
@@ -30,6 +30,9 @@ package() {
make DESTDIR=$pkgdir install
+ # Correct some file mode bits, thanks cfstras
+ chmod a+x "${pkgdir}/usr/share/urbackup/www/"{css,fonts,js,images,}
+
install -Dm644 "${srcdir}/urbackup-server-${pkgver}"/urbackup-server.service \
"${pkgdir}"/usr/lib/systemd/system/urbackup-server.service
install -Dm644 "${srcdir}/urbackup-server-${pkgver}"/urbackup-server-firewalld.xml \