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