check_installed_programs: updated run list
This commit is contained in:
@ -101,9 +101,7 @@ _get_list_for_install () {
|
||||
|
||||
_get_installed_list () {
|
||||
installed=(
|
||||
${(f)"$(grep -h 'Exec=env' ~/.local/share/winehelper/*.desktop 2>/dev/null |
|
||||
awk -F'/' '{print $NF}' |
|
||||
awk -F'"' '{print $1}')"}
|
||||
${(f)"$(ls -1 ~/.local/share/winehelper/ | grep ".desktop" | sed 's/.desktop//')"}
|
||||
)
|
||||
|
||||
if ((! ${#installed[@]} == 0 )); then
|
||||
|
Reference in New Issue
Block a user