added automove old PP to new PPFP

This commit is contained in:
Mikhail Tergoev
2024-04-20 18:02:58 +03:00
parent 20ac7934e4
commit cfb08dd75a
3 changed files with 66 additions and 4 deletions

View File

@ -145,10 +145,6 @@ try_remove_file "${PORT_SCRIPTS_PATH}/yad_gui"
try_remove_file "${PORT_SCRIPTS_PATH}/zen_yad_gui"
try_remove_file "${PW_GUI_THEMES_PATH}/default.css"
if [[ "${INSTALLING_PORT}" == 1 ]] ; then
return 0
fi
. "${USER_CONF}"
# подключаем тему:
@ -165,6 +161,10 @@ if [[ $(gsettings get org.gnome.desktop.interface color-scheme) == "'prefer-dark
then export PW_DESKTOP_THEME="dark"
fi
if [[ "${INSTALLING_PORT}" == 1 ]] ; then
return 0
fi
if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] \
&& [[ ! -f "/tmp/portproton.lock" ]]
then