Skip to content

Commit

Permalink
mv instead of ls -s
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
  • Loading branch information
enoch85 committed May 11, 2024
1 parent bbe98ee commit 3d5e178
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/adminer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ install_if_not unzip
unzip "$ADMINERDIR"/adminer-pgsql.zip -d "$ADMINERDIR"
rm -f "$ADMINERDIR"/adminer-pgsql.zip
# curl_to_dir "https://raw.githubusercontent.com/Niyko/Hydra-Dark-Theme-for-Adminer/master" "adminer.css" "$ADMINERDIR"
ln -s "$ADMINERDIR"/adminer-pgsql.php "$ADMINERDIR"/adminer.php
mv "$ADMINERDIR"/adminer-pgsql.php "$ADMINERDIR"/adminer.php

# Only add TLS 1.3 on Ubuntu later than 22.04
if version 22.04 "$DISTRO" 24.04.10
Expand Down Expand Up @@ -175,7 +175,6 @@ The script will exit."
exit 1
else
# Allow local access:

check_command sed -i "s|local all postgres peer|local all postgres md5|g" /etc/postgresql/*/main/pg_hba.conf
restart_webserver

Expand Down

0 comments on commit 3d5e178

Please sign in to comment.