One more attempt to fix preinst script for RPM and Debian

This commit is contained in:
Akshay Joshi committed 2023-04-10 19:36:29 +05:30
1 parent 6b31fc4552
commit af13d6da16
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -71,8 +71,8 @@ The core server package for pgAdmin. pgAdmin is the most popular and feature ric
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
if [ "${f}" != "/usr/pgadmin4/web/config_local.py" ]; then
rm -rf ${f}
fi
done
fi