Prevent deletion of 'config_local.py' for RPM and Debian

This commit is contained in:
Akshay Joshi
2023-04-06 19:15:01 +05:30
parent b79b2b1265
commit 96450fee63
3 changed files with 8 additions and 3 deletions

View File

@@ -69,7 +69,9 @@ The core server package for pgAdmin. pgAdmin is the most popular and feature ric
%pre
rm -rf /usr/pgadmin4/venv
rm -rf /usr/pgadmin4/web
if [ -d /usr/pgadmin4/web ]; then
cd /usr/pgadmin4/web && rm -rf $(ls -A -I config_local.py)
fi
%build