Skip to content

Commit

Permalink
chore: remove old xsession script
Browse files Browse the repository at this point in the history
Related: linuxdeepin/developer-center#7033
Signed-off-by: black-desk <[email protected]>
  • Loading branch information
black-desk committed Jan 23, 2024
1 parent ec78c8f commit aa9837e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/linglong-bin.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ upgrade_from_1_3_x() {
return
fi

if [ -f /etc/X11/Xsession.d/21linglong ] &&
[ "$(sha256sum /etc/X11/Xsession.d/21linglong)" = \
"5b82ac8e6b02cdae66294139e7db7cbe80af8cef6b0e2eddf8d509166afce544" ]; then
rm /etc/X11/Xsession.d/21linglong
fi

if [ -d /var/lib/linglong ]; then
echo "'/var/lib/linglong' directory exists."
echo "Finish upgrading from 1.3.x without touch anything."
Expand Down

0 comments on commit aa9837e

Please sign in to comment.