diff options
author | EndlessEden | 2021-09-15 22:29:32 +1000 |
---|---|---|
committer | EndlessEden | 2021-09-15 22:29:32 +1000 |
commit | e914da1bbfdfa219f7b2c6fe43c1f8094decb02f (patch) | |
tree | 888e31c8869c2628e2c6f2ecf20a1b9efd7b7363 | |
parent | f153c2296dbb736260d3692f860f7d96e417716b (diff) | |
download | aur-e914da1bbfdfa219f7b2c6fe43c1f8094decb02f.tar.gz |
fixed: bug with craftycontroller.install, debugging still... complains of missing end qoute.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | craftycontroller.install | 6 |
3 files changed, 5 insertions, 5 deletions
@@ -32,7 +32,7 @@ pkgbase = craftycontroller-git source = craftycontroller.service source = start.sh md5sums = SKIP - md5sums = a90f3e69f4dd76abdd232f371b8fec09 + md5sums = 620e11d73a8a0c1822a724280a0988cc md5sums = 2e7d24f5d2982fc6f7ac224378cf2f02 md5sums = 0b6cd32e5c31ed3bb576f5ad652c0db6 @@ -17,7 +17,7 @@ source=("$_pkgname"::"git+https://gitlab.com/crafty-controller/crafty-web.git" "$_pkgname.service" "start.sh") md5sums=('SKIP' -'a90f3e69f4dd76abdd232f371b8fec09' +'620e11d73a8a0c1822a724280a0988cc' '2e7d24f5d2982fc6f7ac224378cf2f02' '0b6cd32e5c31ed3bb576f5ad652c0db6') diff --git a/craftycontroller.install b/craftycontroller.install index 7a624dfc5bbb..02eb18c2f862 100644 --- a/craftycontroller.install +++ b/craftycontroller.install @@ -14,9 +14,9 @@ post_install() { echo "3..." echo "2.. echo "1." - sudo -u crafty ./opt/craftycontroller/start.sh && success=1 & exit 0 - if [ ! -z $success ]; then - success=0 + sudo -u crafty ./opt/craftycontroller/start.sh && export success=1 & exit 0 + if [ ! -z "$success" ]; then + export success="0" fi if [ "$success" == "0" ]; then echo "Initialisation failed; Please run /opt/craftycontroller/start.sh as 'crafty' user." |