diff --git a/mybashrc b/mybashrc index aaa0bda..1d28522 100644 --- a/mybashrc +++ b/mybashrc @@ -169,6 +169,7 @@ MAINTENANCE_APT() { if [ "$(id -u)" = "0" ] || [ -n "$IS_SUDOERS" ]; then export DEBIAN_FRONTEND=noninteractive + _CLEAN_PPA echo -e "${CGREEN}#############################################${CEND}" echo -e ' APT UPDATE ' echo -e "${CGREEN}#############################################${CEND}" @@ -696,6 +697,10 @@ _DELETE_WO_SITES() { done } +_CLEAN_PPA() { + rm -f /etc/apt/sources.list.d/{jonathonf-ubuntu-backports,jonathonf-ubuntu-ffmpeg-4*} +} + # enable color support of ls and also add handy aliases # some more ls aliases #alias wp='/usr/bin/wp --allow-root'