Skip to content

Commit

Permalink
fix remove packages in community
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbarnabedikartola committed Nov 9, 2023
1 parent fb7fc28 commit b03d788
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ <h5 class="center-align small bold">$TXT_TITLE_INSTALL</h5>
<div>
<a href="#" class="secundary round extra elevate tiny-padding" data-ui="#dialog-modal">
<i>attach_file</i>
</a>
</div>
</a>
</div>
<span class="helper">$TXT_HELPER</span>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

if [ "$remove_packages" != "" ]; then
for package in $(echo $remove_packages | tr -d '\r'); do
if [ -z "$(grep "$package" /rootfs-pkgs.txt)" ]; then
if [ -z "$(grep "\b$package\b" /rootfs-pkgs.txt)" ]; then
echo $package >> /tmp/biglinux-calamares-pkg-remove.err
pkgProblemRemove="yes"
fi
Expand All @@ -72,21 +72,21 @@

#DESKTOP CLI

if [ "$desktop_selected" = "cli" -a -n "$login_manager" ];then
# if [ "$desktop_selected" = "cli" -a -n "$login_manager" ];then
# if [ -z "$(echo $install_packages | grep $login_manager)" ];then
# msg_not_login="$NotPossibleLogin $login_manager "
# pkgProblem="yes"
# else
# msg_not_login=""
# fi
# elif [ "$desktop_selected" != "cli" ];then
if [ -z "$(echo $install_packages | grep $login_manager)" ];then
msg_not_login="$NotPossibleLogin $login_manager "
pkgProblem="yes"
else
msg_not_login=""
fi
elif [ "$desktop_selected" != "cli" ];then
if [ -z "$(echo $install_packages | grep $login_manager)" ];then
msg_not_login="$NotPossibleLogin $login_manager "
pkgProblem="yes"
else
msg_not_login=""
fi
fi
# fi

read -d $"" ShowText << EOF
<!DOCTYPE html>
Expand Down

0 comments on commit b03d788

Please sign in to comment.