We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de1214 commit 5306c0eCopy full SHA for 5306c0e
tools/modules/functions/interface_checklist.sh
@@ -102,11 +102,15 @@ function process_package_selection() {
102
if [[ "$is_selected" == "ON" && "$current_state" == "OFF" ]]; then
103
# Package is selected but not installed, install it
104
echo "Installing $package..."
105
- pkg_install "$package"
+ if ! pkg_install "$package"; then
106
+ echo "Failed to install $package." >&2
107
+ fi
108
elif [[ "$is_selected" == "OFF" && "$current_state" == "ON" ]]; then
109
# Package is deselected but installed, remove it
110
echo "Removing $package..."
- pkg_remove "$package"
111
+ if ! pkg_remove "$package"; then
112
+ echo "Failed to remove $package." >&2
113
114
fi
115
done
116
0 commit comments