Fix update prefix
This commit is contained in:
@ -3,8 +3,22 @@
|
||||
. "$(dirname $(readlink -f "$0"))/runlib"
|
||||
|
||||
rm -f "${PORT_WINE_PATH}/"*".log"
|
||||
rm -f "${PORT_WINE_PATH}/data/"*".lock"
|
||||
|
||||
if [ -f "${PORT_WINE_PATH}/data/version" ]; then
|
||||
rm -f "${PORT_WINE_PATH}/data/version"
|
||||
fi
|
||||
|
||||
rm -f "${config_path}/update_notifier"
|
||||
|
||||
if [ -d "${PORT_WINE_PATH}/data/__pycache__" ]; then
|
||||
rm -fr "${PORT_WINE_PATH}/data/__pycache__"
|
||||
fi
|
||||
|
||||
if [ -d "${PORT_WINE_PATH}/data/pfx/dosdevices" ]; then
|
||||
rm -fr "${PORT_WINE_PATH}/data/pfx/dosdevices"
|
||||
fi
|
||||
|
||||
if [ ! -d "/home/${USER}/.local/share/applications" ]
|
||||
then
|
||||
mkdir -p "/home/${USER}/.local/share/applications"
|
||||
|
Reference in New Issue
Block a user