diff --git a/user/local/share/towel/bin/towel-common b/user/local/share/towel/bin/towel-common index 167ecf8..10c522d 100755 --- a/user/local/share/towel/bin/towel-common +++ b/user/local/share/towel/bin/towel-common @@ -162,7 +162,7 @@ function towel_export_desktop_wrapper() { function towel_repoquery_exportables() { local pkg="$1" - local bins_regex='/usr/bin/\S+' + local bins_regex='/usr/s?bin/\S+' local desktops_regex='/usr/share/applications/\S+\.desktop' dnf repoquery -l "$pkg" 2>/dev/null | grep -oE '^('"$bins_regex"'|'"$desktops_regex"')$' 2>/dev/null | sort -u @@ -190,7 +190,7 @@ function towel_auto_export() { fi local bin_files - bin_files=$(grep -E '^/usr/bin/\S+$' <<<"$files") || true + bin_files=$(grep -E '^/usr/s?bin/\S+$' <<<"$files") || true if [ -n "$bin_files" ]; then while IFS= read -r bin_file; do if [ -e "$bin_file" ]; then