Skip to content

Commit

Permalink
feat: Add exit mechanism if linglong package installation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno-sole committed May 27, 2024
1 parent 3dcdd25 commit 6e9976c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
deepin-desktop-environment (2024.05.27) unstable; urgency=medium

* update ll-cli filed exit.

-- LiChengGang <[email protected]> Mon, 27 May 2024 10:55:55 +0800

deepin-desktop-environment (2024.05.23) unstable; urgency=medium

* add fcitx5-pinyin-gui intel-media-driver-non-free.
Expand Down
4 changes: 4 additions & 0 deletions debian/deepin-desktop-environment-ll.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ install_pkg(){
for pkg in `cat $1 | grep -v "^#"`
do
ll-cli --no-dbus install ${pkg}
if [ $? -ne 0 ]; then
echo "Command failed. Exiting."
exit 1
fi
done
}

Expand Down

0 comments on commit 6e9976c

Please sign in to comment.