mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user