Skip to content

Commit

Permalink
Fix phppgadmin init
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Oct 4, 2024
1 parent fdd440e commit e0a4a30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ if [ ! -d "./phppgadmin" ]; then
git clone https://github.com/ReimuHakurei/phpPgAdmin.git phppgadmin --filter=tree:0
cd ./phppgadmin
cp conf/config.inc.php-dist conf/config.inc.php
sed -i "s/['host'] = ''/['host'] = 'localhost'/" conf/config.inc.php
sed -i "s/['owned_only'] = false/['owned_only'] = true/g" conf/config.inc.php
sed -i "s/\['host'\] = ''/['host'] = 'localhost'/g" conf/config.inc.php
sed -i "s/\['owned_only'\] = false/['owned_only'] = true/g" conf/config.inc.php
cd ..
else
cd ./phppgadmin
Expand Down

0 comments on commit e0a4a30

Please sign in to comment.