summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndlessEden2021-09-15 22:18:28 +1000
committerEndlessEden2021-09-15 22:18:28 +1000
commitf1c1a6af63669552677324207ec62900e15ffa5a (patch)
treef496ba0df1bc5b428376d949e650b03260994ce9
parent4cbf52cdca22afb91a5b876c5ddd5dcd70714377 (diff)
downloadaur-f1c1a6af63669552677324207ec62900e15ffa5a.tar.gz
fixed: bug with install, using 'useradd' incorrectly.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--craftycontroller.install2
3 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7edad6e6135e..d0739c0d18f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -31,7 +31,7 @@ pkgbase = craftycontroller-git
source = craftycontroller.service
source = start.sh
md5sums = SKIP
- md5sums = b3f6d60e6c7e480c94128105b56530c2
+ md5sums = a90f3e69f4dd76abdd232f371b8fec09
md5sums = 2e7d24f5d2982fc6f7ac224378cf2f02
md5sums = 0b6cd32e5c31ed3bb576f5ad652c0db6
diff --git a/PKGBUILD b/PKGBUILD
index 3bd7678bbf9e..767a41de5828 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=("$_pkgname"::"git+https://gitlab.com/crafty-controller/crafty-web.git"
"$_pkgname.service"
"start.sh")
md5sums=('SKIP'
-'b3f6d60e6c7e480c94128105b56530c2'
+'a90f3e69f4dd76abdd232f371b8fec09'
'2e7d24f5d2982fc6f7ac224378cf2f02'
'0b6cd32e5c31ed3bb576f5ad652c0db6')
diff --git a/craftycontroller.install b/craftycontroller.install
index 0154b68b95d7..7a624dfc5bbb 100644
--- a/craftycontroller.install
+++ b/craftycontroller.install
@@ -1,6 +1,6 @@
post_install() {
echo "Creating user for Crafty Controller..."
- useradd crafty -M -r -s /bin/bash -b /opt/craftycontroller
+ useradd -M -r -s /bin/bash -b /opt/craftycontroller crafty
echo "Setting Permissions..."
chown -R /opt/craftycontroller crafty:crafty
echo "Creating the Python Virtual Enviorment..."