mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
non-free/unifi: fix symbolic link
This commit is contained in:
parent
0bc9dae8bd
commit
9647ca6a35
@ -65,9 +65,14 @@ package() {
|
||||
ln -sf /var/lib/$pkgname/data $basedir/data
|
||||
ln -sf /var/lib/$pkgname/work $basedir/work
|
||||
|
||||
# overwrite with local snappy
|
||||
ln -sf /usr/share/java/snappy-java-1.1.2.6.jar \
|
||||
"$basedir"/lib/snappy-java-1.1.2.6.jar
|
||||
# overwrite with local snappy but
|
||||
# first we got to figure out the version
|
||||
local file=$(ls lib/ | grep snappy-java)
|
||||
local name=${file%.*}
|
||||
local version=${name##*-}
|
||||
# the java-snappy pkg has a symlink so we use that
|
||||
ln -sf /usr/share/java/snappy-java.jar \
|
||||
"$basedir"/lib/snappy-java-$version.jar
|
||||
|
||||
# make sure datadir is writable by our user
|
||||
chown -R $pkgname:$pkgname $datadir
|
||||
@ -75,6 +80,7 @@ package() {
|
||||
# tell search engines to do not index
|
||||
echo -e "User-Agent:*\nDisallow:/" > "$webapps"/$pkgname/ROOT/robots.txt
|
||||
}
|
||||
|
||||
sha512sums="63150282d9b7c907e0851bfcfa6779c8a5568b6aa5a8c7333dd5d1403ea8561f8175e9682f79c508da98812efc619257971943a1c3803dd1e72295b9de3340af unifi-5.7.23.zip
|
||||
b19a7d684ef2ec7c4159417c21185ccd8ce498da25405b69014fdb32e346a0077f7edc5dfc994481d12936aa8dbf22e6baf29571fd0003aaad19609d24c549f4 unifi.initd
|
||||
d339555a91de7488badbedf8a4c85cff878e7d0720a8cf6a8340f51f3666dcf4878b47a1fff4c9c2846d7af140d11e48e898f8c4dba1f81c1004b76a81f0821e unifi.confd
|
||||
|
Loading…
Reference in New Issue
Block a user