aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/unifi
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2017-12-06 09:05:15 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2017-12-06 09:05:33 +0000
commitc48dca2b035f79d15f52656f7e28ae3b6ee38fd4 (patch)
tree86056dda06d1ba416631f543b3bac417733c8efe /non-free/unifi
parent6c4bea5606848d7c2c8362d81837cf369fc913bb (diff)
downloadaports-c48dca2b035f79d15f52656f7e28ae3b6ee38fd4.tar.bz2
aports-c48dca2b035f79d15f52656f7e28ae3b6ee38fd4.tar.xz
non-free/unifi: remove disabled fhs check
Diffstat (limited to 'non-free/unifi')
-rw-r--r--non-free/unifi/APKBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/non-free/unifi/APKBUILD b/non-free/unifi/APKBUILD
index 76aad98f87..de1495a97f 100644
--- a/non-free/unifi/APKBUILD
+++ b/non-free/unifi/APKBUILD
@@ -12,13 +12,13 @@ depends="openjdk8-jre-base java-snappy mongodb"
install="$pkgname.pre-install"
pkgusers="$pkgname"
pkggroups="$pkgname"
-options="!check !fhs"
+options="!check"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.zip::https://dl.ubnt.com/$pkgname/$pkgver/$_pkgname.unix.zip
- $pkgname.initd
- $pkgname.confd
- $pkgname.logrotated
- "
+ $pkgname.initd
+ $pkgname.confd
+ $pkgname.logrotated
+ "
builddir="$srcdir/$_pkgname"
prepare() {
@@ -37,14 +37,14 @@ package() {
mkdir -p $basedir/bin $datadir $webapps
- install -Dm644 "$srcdir"/$pkgname.logrotated \
- "$pkgdir"/etc/logrotate.d/$pkgname
- install -Dm755 "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname
- install -Dm644 "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/$pkgname
- install -Dm644 readme.txt \
- "$pkgdir"/usr/share/doc/$pkgname/readme.txt
+ install -Dm644 "$srcdir"/$pkgname.logrotated \
+ "$pkgdir"/etc/logrotate.d/$pkgname
+ install -Dm755 "$srcdir"/$pkgname.initd \
+ "$pkgdir"/etc/init.d/$pkgname
+ install -Dm644 "$srcdir"/$pkgname.confd \
+ "$pkgdir"/etc/conf.d/$pkgname
+ install -Dm644 readme.txt \
+ "$pkgdir"/usr/share/doc/$pkgname/readme.txt
cp -r webapps $webapps/$pkgname
@@ -55,7 +55,7 @@ package() {
local dir; for dir in work data; do
install -dm 755 -o $pkgname -g $pkgname "$datadir/$dir"
done
-
+
# link things back to basedir
ln -sf /usr/bin/mongod $basedir/bin/mongod
ln -sf /var/log/$pkgname $basedir/logs