rc: fix clear-apt-list-cache

with the && the operations are aborted in case they don't succeed
instead of just continuing until the end.
This commit is contained in:
Aminda Suomalainen 2015-09-12 10:01:57 +00:00
parent 643119d972
commit 71e05ac396
2 changed files with 2 additions and 2 deletions

View File

@ -552,7 +552,7 @@ alias rcp="rsync -a --progress"
alias rmv="rsync -a --progress --remove-source-files"
# Clear apt list cache
alias clear-apt-list-cache="cd /var/lib/apt/lists;rm *;cd partial;rm *;cd"
alias clear-apt-list-cache="cd /var/lib/apt/lists && rm * && cd partial && rm * && cd"
# Accept all cookies with Lynx, makes browsing easier and
# every other browser does this too.

View File

@ -554,7 +554,7 @@ alias rcp="rsync -a --progress"
alias rmv="rsync -a --progress --remove-source-files"
# Clear apt list cache
alias clear-apt-list-cache="cd /var/lib/apt/lists;rm *;cd partial;rm *;cd"
alias clear-apt-list-cache="cd /var/lib/apt/lists && rm * && cd partial && rm * && cd"
# Accept all cookies with Lynx, makes browsing easier and
# every other browser does this too.