diff options
author | David Runge | 2017-12-22 18:12:21 +0100 |
---|---|---|
committer | David Runge | 2017-12-22 18:12:21 +0100 |
commit | 89587ceedbd8a906ca8ac0e711f95fee384ba8ed (patch) | |
tree | 8c0ae68e3591df6db2df1b12e751f2cbe86d310f | |
parent | e7889cf70aa07d63b5198c87ba66ad9ea06ece7d (diff) | |
download | aur-89587ceedbd8a906ca8ac0e711f95fee384ba8ed.tar.gz |
PKGBUILD: Fixing the symlinking of customization directory.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Dec 22 15:54:30 UTC 2017 +# Fri Dec 22 17:11:20 UTC 2017 pkgbase = etherpad-lite pkgdesc = Lightweight fork of etherpad based on javascript pkgver = 1.6.2 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = http://etherpad.org arch = any @@ -6,7 +6,7 @@ _jqueryver=1.9.1 pkgname=etherpad-lite pkgver=1.6.2 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="Lightweight fork of etherpad based on javascript" arch=(any) @@ -78,13 +78,14 @@ package() { # custom js and css templates install -t "${pkgdir}/etc/${pkgname}/custom" -Dm0640 \ "src/static/custom/"*.{css,js} + rm -r src/static/custom # move sources mv src/* "${pkgdir}/usr/share/${pkgname}/src/" # symlink directory for custom css and js - ln -s "/etc/${pkgname}/custom" \ - "${pkgdir}/usr/share/${pkgname}/src/static/custom" + ln -s "/etc/${pkgname}/custom/" \ + "${pkgdir}/usr/share/${pkgname}/src/static/" # symlink needed files (not yet created) ln -s /var/lib/etherpad-lite/SESSIONKEY.txt \ |