Skip to content

Commit

Permalink
Update APP-MANAGER
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Sep 1, 2024
1 parent 37ecb8a commit a67a9da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ sed -i "s#$AMPATH/list#$AMDATADIR/list#g" "$completion_file" 2>/dev/null
# VERSION OF THE INSTALLED APPS
# Filters
function _check_version_filters() {
sed -E "s/$arch|amd64|x86-64|x64|basic|standard|full|help//g; s/-/\n/g; s/_/\n/g; s/+/-/g" |\
grep -vi "appimage\|$arg\|?\|tar." | grep "[0-9]" | head -1 | sed 's/^v//g; s/^\.//g; s/\.$//g;'
sed -E "s/$arch|amd64|x86-64|x64|basic|standard|full|help//g; s/-/\n/g; s/_/\n/g;" |\
grep -vi "appimage\|$arg\|?\|tar." | grep "[0-9]" | head -1 | sed 's/^v//g; s/^\.//g; s/\.$//g; s/+/-/g; s/%/-/g;'
}

function _check_version_grep_numbers() {
Expand Down

0 comments on commit a67a9da

Please sign in to comment.