Remove leftover aur-pkgs.txt and pacman-pkgs.txt from list of DE/WM's

This commit is contained in:
Slavko Stojshic 2022-03-02 18:04:22 +01:00
parent 963f367f9b
commit 9b9c2ee37f
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ aurhelper () {
desktopenv () {
# Let the user choose Desktop Enviroment from predefined list
echo -ne "Please select your desired Desktop Enviroment:\n"
options=( `for f in pkg-files/*.txt; do echo "$f" | sed -r "s/.+\/(.+)\..+/\1/"; done` )
options=( `for f in pkg-files/*.txt; do echo "$f" | sed -r "s/.+\/(.+)\..+/\1/;/pkgs/d"; done` )
select_option $? 4 "${options[@]}"
desktop_env=${options[$?]}
set_option DESKTOP_ENV $desktop_env