Commit ebfbc2fb authored by Mikhail Tergoev's avatar Mikhail Tergoev

added automatic rollback of script version when switching from DEVEL to STABLE with args: --repair

parent ad5f1c6b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# License MIT # License MIT
######################################################################## ########################################################################
unset PW_AUTOPLAY PW_SET_LANG PW_SILENT_INSTALL unset PW_AUTOPLAY PW_SET_LANG PW_SILENT_INSTALL
export port_ver=1.6.1 export port_ver=1.7.0
######################################################################## ########################################################################
cd "$(dirname "$(readlink -f "$0")")" cd "$(dirname "$(readlink -f "$0")")"
script_path="$(pwd)" script_path="$(pwd)"
...@@ -149,6 +149,8 @@ if [[ "$1" != "--repair" ]] ; then ...@@ -149,6 +149,8 @@ if [[ "$1" != "--repair" ]] ; then
else else
export PORT_WINE_DATA_PATH="${XDG_DATA_HOME}" export PORT_WINE_DATA_PATH="${XDG_DATA_HOME}"
fi fi
elif [[ -f "$PORT_WINE_PATH/data/user.conf" ]] ; then
sed -i 's/="devel"/="master"/g' "$PORT_WINE_PATH/data/user.conf"
fi fi
if [[ ! -d "${PORT_WINE_DATA_PATH}" ]] ; then if [[ ! -d "${PORT_WINE_DATA_PATH}" ]] ; then
......
...@@ -108,6 +108,13 @@ ...@@ -108,6 +108,13 @@
<content_rating type="oars-1.1"/> <content_rating type="oars-1.1"/>
<releases> <releases>
<release version="1.7.0" date="2024-07-14">
<description>
<ul>
<li>added automatic rollback of script version when switching from DEVEL to STABLE with args: --repair</li>
</ul>
</description>
</release>
<release version="1.6.2" date="2024-07-13"> <release version="1.6.2" date="2024-07-13">
<description> <description>
<ul> <ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment