summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD1
-rw-r--r--accounts.install28
3 files changed, 2 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3665914d58a..19863cc4aec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Feb 23 20:27:58 UTC 2016
+# Tue Feb 23 20:33:21 UTC 2016
pkgbase = shiny-server-git
pkgdesc = Open-source version of the shiny web development framework server
pkgver = 20150608
diff --git a/PKGBUILD b/PKGBUILD
index 618a56696e1..69ba273ffc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -50,6 +50,7 @@ package() {
cd "$srcdir/$_gitname/tmp"
make DESTDIR="$pkgdir/" install
mkdir -p $pkgdir/usr/bin/
+ mkdir -p $pkgdir/etc/shiny-server/
ln -s /usr/shiny-server/bin/shiny-server $pkgdir/usr/bin/shiny-server
install -m 644 -D $srcdir/shiny-server.service $pkgdir/usr/lib/systemd/system/shiny-server.service
install -m 644 -D $srcdir/$_gitname/config/default.config $pkgdir/etc/shiny-server/shiny-server.conf
diff --git a/accounts.install b/accounts.install
index 6ce2a5b9267..ca4fac2f12d 100644
--- a/accounts.install
+++ b/accounts.install
@@ -1,13 +1,3 @@
-# This is a default template for a post-install scriptlet.
-# Uncomment only required functions and remove any functions
-# you don't need (and this header).
-
-## arg 1: the new package version
-#pre_install() {
- # do something here
-#}
-
-## arg 1: the new package version
post_install() {
# do something here
getent group "shiny" &>/dev/null || groupadd -r shiny 1>/dev/null
@@ -19,24 +9,6 @@ post_install() {
chown shiny:shiny /var/lib/shiny-server
}
-## arg 1: the new package version
-## arg 2: the old package version
-#pre_upgrade() {
- # do something here
-#}
-
-## arg 1: the new package version
-## arg 2: the old package version
-#post_upgrade() {
- # do something here
-#}
-
-## arg 1: the old package version
-#pre_remove() {
- # do something here
-#}
-
-## arg 1: the old package version
post_remove() {
# do something here
if getent passwd "shiny" >/dev/null; then