summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Martin2016-02-23 14:33:35 -0600
committerStephen Martin2016-02-23 14:33:35 -0600
commit7388256f4c76ca571a6cc8092e57fb23486833d1 (patch)
treef649442800ebc6f6e34a20bb36f6a58add58680c
parent2e37862601422593d2bc05b68b1bc066f60d2438 (diff)
downloadaur-7388256f4c76ca571a6cc8092e57fb23486833d1.tar.gz
Added /etc/shiny-server
-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 3665914d58a1..19863cc4aece 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 618a56696e10..69ba273ffc8d 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 6ce2a5b9267d..ca4fac2f12db 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