Skip to content

Commit

Permalink
Launch only the snapped ubuntu-core-desktop-init
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-costas committed Sep 27, 2023
1 parent 4d32642 commit 5bb5e06
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hooks/010-configure-system-setup-tool.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ cat > /usr/libexec/launch-setup.sh <<EOF
# launch the configuration program
export G_MESSAGES_DEBUG=all
if [ -f "/usr/libexec/ubuntu_init" ]; then
/usr/libexec/ubuntu_init
else
/snap/ubuntu-core-desktop-init/current/bin/ubuntu_init
fi
#if [ -f "/usr/libexec/ubuntu_init" ]; then
# /usr/libexec/ubuntu_init
#else
# /snap/ubuntu-core-desktop-init/current/bin/ubuntu_init
#fi
/snap/ubuntu-core-desktop-init/current/bin/ubuntu_init
EOF
chmod 755 /usr/libexec/launch-setup.sh

0 comments on commit 5bb5e06

Please sign in to comment.