mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added backslash to quote $ variable substitution in preinst script.
This commit is contained in:
parent
af13d6da16
commit
290e160e13
@ -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
|
||||
|
||||
|
@ -70,11 +70,7 @@ The core server package for pgAdmin. pgAdmin is the most popular and feature ric
|
||||
%pre
|
||||
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
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user