mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-31 16:37:42 -05:00
Added backslash to quote $ variable substitution in preinst script.
This commit is contained in:
1 parent
af13d6da16
commit
290e160e13
2 files changed
+2
-10
No files matched your search
+1
-5
@@ -37,11 +37,7 @@ cat << EOF > "${SERVERROOT}/DEBIAN/preinst"
|
||||
|
||||
rm -rf /usr/pgadmin4/venv
|
||||
if [ -d /usr/pgadmin4/web ]; then
|
||||
for f in /usr/pgadmin4/web/*; do
|
||||
if [ "${f}" != "/usr/pgadmin4/web/config_local.py" ]; then
|
||||
rm -rf ${f}
|
||||
fi
|
||||
done
|
||||
cd /usr/pgadmin4/web && rm -rf \$(ls -A -I config_local.py)
|
||||
fi
|
||||
EOF
|
||||
|
||||
|
||||
Reference in new issue
Block a user