Skip to content

Commit

Permalink
fix: remove linglong config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno-sole committed Jun 18, 2024
1 parent c5b3b3e commit 9a6aefa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 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.06.07) unstable; urgency=medium

* remove linglong config.yaml

-- LiChengGang <[email protected]> Fri, 07 Jun 2024 14:05:05 +0800

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

* add fonts-noto-color-emoji.
Expand Down
14 changes: 10 additions & 4 deletions debian/deepin-desktop-environment-ll.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ repos:
EOF
}

remove_confing(){

if [ -f /var/lib/linglong/config.yaml ]; then
rm /var/lib/linglong/config.yaml
fi

}


if [ "$1" = "configure" ] && [ "$2" = "" ]; then
Expand All @@ -58,14 +65,13 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then
fi
update_ll_repo-dev
install_pkg ${LL_pkgList}
if [ -f /var/lib/linglong/config.yaml ]; then
rm /var/lib/linglong/config.yaml
fi
update_ll_repo

fi



if [ "$1" = "configure" ]; then
remove_confing
fi


0 comments on commit 9a6aefa

Please sign in to comment.