Fix bug 68055 : Removing deb package by purge do not clean theme (#1262)

* Fix bug 68055 : Removing deb package by purge do not clean theme

* Small changes

* Small changes

* Small changes

* Small changes

* Revert changes
This commit is contained in:
Roman Demidov
2024-06-27 11:28:48 +03:00
committed by GitHub
parent bba12c92a9
commit 4106136fb9

View File

@ -6,7 +6,8 @@ set -e # fail on any error
case "$1" in
purge)
ifelse(M4_COMPANY_NAME, ONLYOFFICE,
rm -fr /home/*/.local/share/M4_DESKTOPEDITORS_PREFIX,
rm -fr /home/*/.local/share/M4_DESKTOPEDITORS_PREFIX
rm -fr /home/*/.config/onlyoffice/DesktopEditors.conf,
rm -fr /home/*/.local/share/M4_PACKAGE_NAME
if [ -f /etc/astra_version ] && [ -f /etc/X11/trusted ]; then
sed -i '\|/opt/M4_DESKTOPEDITORS_PREFIX/DesktopEditors|d' /etc/X11/trusted