summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsatcom8862020-09-14 22:28:39 +0200
committersatcom8862020-09-14 22:28:39 +0200
commitc105f0b19e6835b94341fc7b2029ef112f41c3ee (patch)
tree3f463f2ea51bbb9f25b1268c5ec8ae8543bee542
parent0f7c579b5acf7df24df7d3d8f5bbf39f5f932bea (diff)
downloadaur-c105f0b19e6835b94341fc7b2029ef112f41c3ee.tar.gz
Automatically add current user to the group
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rwxr-xr-xcontrolloid-server.install3
3 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d6cf0c0f0a7..1f41f4dff75 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = controlloid-server-git
pkgdesc = The server for the Android app Controlloid.
pkgver = r23.1137a81
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/experiment322/controlloid-server
install = controlloid-server.install
arch = x86_64
@@ -28,7 +28,7 @@ pkgbase = controlloid-server-git
md5sums = 32f432c01af51b24a5382a5a0718dc61
md5sums = 75a9fb6c38015c6da123e7633a216ec5
md5sums = 76b1380215f173064b7c89553394c372
- md5sums = 68ceff54b22691e3e8ed18dc4c9062e9
+ md5sums = 56f0cd8f1d8bec160e35bbbdb43ae543
pkgname = controlloid-server-git
diff --git a/PKGBUILD b/PKGBUILD
index 935631783da..ab5a47d7adb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=controlloid-server-git
pkgver=r23.1137a81
-pkgrel=2
+pkgrel=3
pkgdesc="The server for the Android app Controlloid."
arch=('x86_64' 'i686' 'armv6' 'armv7' 'aarch64')
url="https://github.com/experiment322/controlloid-server"
@@ -24,7 +24,7 @@ md5sums=('SKIP'
'32f432c01af51b24a5382a5a0718dc61'
'75a9fb6c38015c6da123e7633a216ec5'
'76b1380215f173064b7c89553394c372'
- '68ceff54b22691e3e8ed18dc4c9062e9')
+ '56f0cd8f1d8bec160e35bbbdb43ae543')
pkgver() {
cd "$srcdir/controlloid-server"
diff --git a/controlloid-server.install b/controlloid-server.install
index a786441f8ec..2500ffc4971 100755
--- a/controlloid-server.install
+++ b/controlloid-server.install
@@ -1,5 +1,6 @@
post_install() {
- echo "Don't forget to add yourself to the 'controlloid' group!"
+ echo "Adding your user to the 'controlloid' group..."
+ usermod -aG controlloid $USER
}
post_remove() {