Browse Source

add clean_ppa

master
VirtuBox 1 year ago
parent
commit
5be171e4eb
Signed by: virtubox GPG Key ID: 22EB296C97BAD476
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      mybashrc

+ 5
- 0
mybashrc 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'


Loading…
Cancel
Save