mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Change the logic to prevent the config_local.py from deletion on RPM and Debian.
This commit is contained in:
parent
660a75a582
commit
6b31fc4552
@ -2,7 +2,7 @@
|
||||
Version 7.0
|
||||
***********
|
||||
|
||||
Release date: 2023-04-11
|
||||
Release date: 2023-04-13
|
||||
|
||||
This release contains a number of bug fixes and new features since the release of pgAdmin 4 v6.21.
|
||||
|
||||
@ -14,7 +14,7 @@ Supported Database Servers
|
||||
|
||||
Bundled PostgreSQL Utilities
|
||||
****************************
|
||||
**psql**, **pg_dump**, **pg_dumpall**, **pg_restore**: 15.1
|
||||
**psql**, **pg_dump**, **pg_dumpall**, **pg_restore**: 15.2
|
||||
|
||||
|
||||
New features
|
||||
@ -67,4 +67,6 @@ Bug fixes
|
||||
| `Issue #5958 <https://github.com/pgadmin-org/pgadmin4/issues/5958>`_ - Fix an issue where new dashboard graphs are partially following theme colors.
|
||||
| `Issue #5959 <https://github.com/pgadmin-org/pgadmin4/issues/5959>`_ - Fix an issue where Backup, Restore, and Maintenance not working if connection timeout is set in the server dialog.
|
||||
| `Issue #6018 <https://github.com/pgadmin-org/pgadmin4/issues/6018>`_ - Change the foreground color of the code mirror text for Dark Theme.
|
||||
| `Issue #6093 <https://github.com/pgadmin-org/pgadmin4/issues/6093>`_ - Fix the dependents SQL of Roles which is throwing a type casting error on PostgreSQL 15.
|
||||
| `Issue #6100 <https://github.com/pgadmin-org/pgadmin4/issues/6100>`_ - Fixed the LDAP authentication issue for the simultaneous login attempts.(CVE-2023-1907)
|
||||
| `Issue #6109 <https://github.com/pgadmin-org/pgadmin4/issues/6109>`_ - Fixed asyncio random task error messages in Query tool.
|
||||
|
@ -37,7 +37,11 @@ cat << EOF > "${SERVERROOT}/DEBIAN/preinst"
|
||||
|
||||
rm -rf /usr/pgadmin4/venv
|
||||
if [ -d /usr/pgadmin4/web ]; then
|
||||
cd /usr/pgadmin4/web && rm -rf $(ls -A -I config_local.py)
|
||||
for f in /usr/pgadmin4/web/*; do
|
||||
if [ "$f" != "/usr/pgadmin4/web/config_local.py" ]; then
|
||||
rm -rf $f
|
||||
fi
|
||||
done
|
||||
fi
|
||||
EOF
|
||||
|
||||
|
@ -70,7 +70,11 @@ 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
|
||||
cd /usr/pgadmin4/web && rm -rf $(ls -A -I config_local.py)
|
||||
for f in /usr/pgadmin4/web/*; do
|
||||
if [ "$f" != "/usr/pgadmin4/web/config_local.py" ]; then
|
||||
rm -rf $f
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user