File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
system_files/desktop/shared/usr/libexec Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ if [[ -f "$HOME/.bazzite-configured-fedora-version" ]]; then
2828 mv -f " $HOME /.bazzite-configured-fedora-version" " $USER_SETUP_FEDORA_VER_FILE "
2929fi
3030
31- USER_SETUP_VER_RAN=$( cat $USER_SETUP_VER_FILE )
32- USER_SETUP_FEDORA_VER_RAN=$( cat $USER_SETUP_FEDORA_VER_FILE )
33- USER_SETUP_IMAGE_VER_RAN=$( cat $USER_SETUP_IMAGE_VER_FILE )
34-
3531# Run script if updated
36- if [[ -f $USER_SETUP_VER_FILE && -f $USER_SETUP_FEDORA_VER_FILE && -f $USER_SETUP_FEDORA_VER_FILE ]]; then
32+ if [[ -f $USER_SETUP_VER_FILE && -f $USER_SETUP_FEDORA_VER_FILE && -f $USER_SETUP_IMAGE_VER_FILE ]]; then
33+ USER_SETUP_VER_RAN=$( cat $USER_SETUP_VER_FILE )
34+ USER_SETUP_FEDORA_VER_RAN=$( cat $USER_SETUP_FEDORA_VER_FILE )
35+ USER_SETUP_IMAGE_VER_RAN=$( cat $USER_SETUP_IMAGE_VER_FILE )
36+
3737 if [[ $USER_SETUP_VER = " $USER_SETUP_VER_RAN " && $FEDORA_VERSION = " $USER_SETUP_FEDORA_VER_RAN " && $BASE_IMAGE_NAME = " $USER_SETUP_IMAGE_VER_RAN " ]]; then
3838 echo " User setup v$USER_SETUP_VER has already run. Exiting..."
3939 exit 0
You can’t perform that action at this time.
0 commit comments