Skip to content

Commit 99bf764

Browse files
author
Andreas Poulsen
committed
Update os_release config during upgrade step 3 after the actual upgrade
1 parent 089b6c9 commit 99bf764

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

common/22_04_opgradering/kiosk_lts_upgrade_in_place_step_3.sh

+5
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ if ! lsb_release -d | grep --quiet 22; then
8181
exit 1
8282
fi
8383

84+
# Update the os_release config
85+
RELEASE=$(lsb_release --release --short)
86+
set_os2borgerpc_config os_release "$RELEASE"
87+
os2borgerpc_push_config_keys os_release
88+
8489
rm --force $PREVIOUS_STEP_DONE
8590

8691
touch /etc/os2borgerpc/third_upgrade_step_done

common/22_04_opgradering/os2borgerpc_lts_upgrade_in_place_step_3.sh

+5
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ if ! lsb_release -d | grep --quiet 22; then
128128
exit 1
129129
fi
130130

131+
# Update the os_release config
132+
RELEASE=$(lsb_release --release --short)
133+
set_os2borgerpc_config os_release "$RELEASE"
134+
os2borgerpc_push_config_keys os_release
135+
131136
# Make sure that the extension responsible for handling desktop icons is installed correctly
132137
apt-get --assume-yes install gnome-shell-extension-desktop-icons-ng
133138

0 commit comments

Comments
 (0)