From 12ef613fef02750a61c9fc3aa67604e112ab509b Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Tue, 3 May 2022 21:58:30 +0200 Subject: [PATCH] fix lib bugs --- lib.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib.sh b/lib.sh index ded9910c..d51f42d1 100644 --- a/lib.sh +++ b/lib.sh @@ -13,9 +13,8 @@ true NCPASS=nextcloud NCUSER=ncadmin PGDB_USER=nextcloud_db_user -NCCONFIGDBPASS=$(grep 'dbpassword "$NCPATH"/config/config.php | awk '{print $3}' | sed "s/[',]//g")" -NCCONFIGDB=$(grep 'dbname' "$NCPATH"/config/config.php | awk '{print $3}' | sed "s/[',]//g")" - +NCCONFIGDBPASS="$(grep 'dbpassword' "$NCPATH"/config/config.php | awk '{print $3}' | sed "s/[',]//g")" +NCCONFIGDB="$(grep 'dbname' "$NCPATH"/config/config.php | awk '{print $3}' | sed "s/[',]//g")" ## VARIABLES