Skip to content

Commit 598a666

Browse files
kkimuraksachilles
andcommitted
Add -y option on uninstalling unused db client
Co-authored-by: Steven Achilles <[email protected]> Co-authored-by: @f-io
1 parent 24e2b58 commit 598a666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/runtime/functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ gitlab_uninstall_unused_database_client() {
239239
# remove unused client using regex above
240240
UNUSED_DB_CLIENTS=$(apt-cache pkgnames postgresql-client | grep -v -e "${REGEX_DB_CLIENT_VERSIONS_IN_USE}" | tr '\n' ' ')
241241
echo "- Uninstalling unused client(s): ${UNUSED_DB_CLIENTS}"
242-
DEBIAN_FRONTEND=noninteractive apt-get -qq purge -- ${UNUSED_DB_CLIENTS} >/dev/null
242+
DEBIAN_FRONTEND=noninteractive apt-get -qq -y purge -- ${UNUSED_DB_CLIENTS} >/dev/null
243243
fi
244244
}
245245

0 commit comments

Comments
 (0)