diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-01-05 07:31:26 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-01-05 07:32:04 +0000 |
commit | 94228252ab48596c51d4d66a472f8483f47efd53 (patch) | |
tree | 098cbd11b462b72f2f98c7ac1608f3040835310d /community/racktables | |
parent | 06a5431020a3cccc1d31c7a62b212baf3024c74f (diff) | |
download | aports-94228252ab48596c51d4d66a472f8483f47efd53.tar.bz2 aports-94228252ab48596c51d4d66a472f8483f47efd53.tar.xz |
Revert "community/racktables: pre-create secret.php needed during setup"
This reverts commit 06a5431020a3cccc1d31c7a62b212baf3024c74f.
Diffstat (limited to 'community/racktables')
-rw-r--r-- | community/racktables/APKBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/community/racktables/APKBUILD b/community/racktables/APKBUILD index 2f9bfb62d7..13f0b53ae0 100644 --- a/community/racktables/APKBUILD +++ b/community/racktables/APKBUILD @@ -3,7 +3,7 @@ pkgname=racktables _realname=RackTables pkgver=0.20.10 -pkgrel=2 +pkgrel=1 pkgdesc="Server room asset management" url="http://racktables.org" arch="noarch" @@ -44,10 +44,8 @@ package() { make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install-docs mkdir -p "$pkgdir"/etc/racktables - touch "$pkgdir"/etc/racktables/secret.php - chown -R :www-data "$pkgdir"/etc/racktables + chown :www-data "$pkgdir"/etc/racktables chmod 770 "$pkgdir"/etc/racktables - chmod 660 "$pkgdir"/etc/racktables/secret.php sed -i "s%<?php%<?php\n\n\$racktables_confdir = '/etc/racktables';%" \ "$pkgdir"/usr/share/webapps/RackTables/wwwroot/index.php } |