fix lib bugs

This commit is contained in:
Daniel Hansson 2022-05-03 21:58:30 +02:00 committed by GitHub
parent c46da3b095
commit 12ef613fef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
lib.sh
View File

@ -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