Skip to content

Commit c08b28e

Browse files
authored
Hide output from apt-hold
Signed-off-by: Daniel Hansson <[email protected]>
1 parent 905765a commit c08b28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nextcloud_update.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ if apt-cache policy | grep "ondrej" >/dev/null 2>&1
260260
then
261261
print_text_in_color "$ICyan" "Ondrejs PPA is installed. \
262262
Holding PHP to avoid upgrading to a newer version without migration..."
263-
apt-mark hold php*
263+
apt-mark hold php* >/dev/null 2>&1
264264
fi
265265

266266
# Don't allow MySQL/MariaDB

0 commit comments

Comments
 (0)