mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-31 20:45:38 +00:00
WRAPPER: version string was not updated
This commit is contained in:
parent
20fa2f8627
commit
29a9d7f2cb
|
@ -216,6 +216,7 @@ ra_init() {
|
||||||
|
|
||||||
create_lock() {
|
create_lock() {
|
||||||
# creating RetroDECK's lock file and writing the version in the config file
|
# creating RetroDECK's lock file and writing the version in the config file
|
||||||
|
version=$hard_version
|
||||||
touch "$lockfile"
|
touch "$lockfile"
|
||||||
conf_write
|
conf_write
|
||||||
}
|
}
|
||||||
|
@ -493,7 +494,7 @@ then
|
||||||
# ...but the version doesn't match with the config file
|
# ...but the version doesn't match with the config file
|
||||||
if [ "$hard_version" != "$version" ];
|
if [ "$hard_version" != "$version" ];
|
||||||
then
|
then
|
||||||
echo "Config file's version is "$(cat "$version")" but the actual version is $hard_version"
|
echo "Config file's version is $version but the actual version is $hard_version"
|
||||||
post_update # Executing post update script
|
post_update # Executing post update script
|
||||||
conf_write # Writing variables in the config file (sourced from global.sh)
|
conf_write # Writing variables in the config file (sourced from global.sh)
|
||||||
start_retrodeck
|
start_retrodeck
|
||||||
|
|
Loading…
Reference in a new issue