aliases.zsh: repaired retrieval of dkms packages
This commit is contained in:
parent
b7c95859b8
commit
e09f408f99
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function mkcdir () {
|
|||
if [ -x "$(which lsb_release)" ];
|
||||
then
|
||||
current_dist=`lsb_release -c -s`
|
||||
all_dkms_packages="`apt-cache rdepends --installed dkms | sed -rn 's/^ +([^ ]+)$/\1/p' | sort -iu`"
|
||||
all_dkms_packages="`apt-cache rdepends --installed dkms | sed -rn 's/^ +([^ ]+)$/\1/p' | sort -iu | tr '\n' ' '`"
|
||||
if [ $use_sudo -eq 1 ];
|
||||
then
|
||||
alias aar='sudo apt-get --purge autoremove'
|
||||
|
|
Loading…
Reference in a new issue