Skip to content

Commit a7462f5

Browse files
gvatsal60Copilot
andauthored
Update .update.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 90abf0a commit a7462f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ update_os_pkg() {
198198
ORPHANS=$("${PKG_MGR_CMD}" -Qdtq)
199199
rc=$?
200200
if [ $rc -eq 0 ] && [ -n "${ORPHANS}" ]; then
201-
if ! ("${PKG_MGR_CMD}" -Rns ${ORPHANS}); then
201+
if ! ("${PKG_MGR_CMD}" -Rns "${ORPHANS}"); then
202202
print_err "Error: Failed to remove orphaned packages."
203203
fi
204204
elif [ $rc -ne 1 ]; then

0 commit comments

Comments
 (0)