File tree 1 file changed +5
-5
lines changed
system_files/desktop/shared/usr/libexec
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
28
28
mv -f " $HOME /.bazzite-configured-fedora-version" " $USER_SETUP_FEDORA_VER_FILE "
29
29
fi
30
30
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
-
35
31
# 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
+
37
37
if [[ $USER_SETUP_VER = " $USER_SETUP_VER_RAN " && $FEDORA_VERSION = " $USER_SETUP_FEDORA_VER_RAN " && $BASE_IMAGE_NAME = " $USER_SETUP_IMAGE_VER_RAN " ]]; then
38
38
echo " User setup v$USER_SETUP_VER has already run. Exiting..."
39
39
exit 0
You can’t perform that action at this time.
0 commit comments