1
0
Fork 0

add clean_ppa

This commit is contained in:
VirtuBox 2019-12-13 17:42:03 +01:00
parent e569b6c1a8
commit 5be171e4eb
Signed by: virtubox
GPG Key ID: 22EB296C97BAD476
1 changed files with 5 additions and 0 deletions

View File

@ -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'