Commit 83e36c50e151f80b1d4881da07be7e48ab6a7fd4
Fix vifm-media script not listing some drives
* with udevil and udisks: external drives
* with udisks: removable drives which udisks somehow marked as
non-removable
Author: xaizek
Author date (UTC): 2024-04-18 12:09
Committer name: xaizek
Committer date (UTC): 2024-04-25 16:28
Parent(s): d64281faf5a826a8efd20fc63930c307120585d8
Signing key: 99DC5E4DB05F6BE2
Tree: e60ff2a4797c4f7b16caa23225161e299bbe132e
File ChangeLog changed (mode: 100644) (index be0d2ca4f..5afe8be40) |
253 |
253 |
Fixed `data/vifmrc` next to vifm.exe being used as global vifmrc file on |
Fixed `data/vifmrc` next to vifm.exe being used as global vifmrc file on |
254 |
254 |
Windows. Thanks to midrare. |
Windows. Thanks to midrare. |
255 |
255 |
|
|
|
256 |
|
Fixed vifm-media script not listing external drives with udevil and |
|
257 |
|
udisks. |
|
258 |
|
|
|
259 |
|
Fixed vifm-media script not listing removable drives with udisks marked as |
|
260 |
|
non-removable by udisks. |
|
261 |
|
|
256 |
262 |
0.13-beta to 0.13 (2023-04-04) |
0.13-beta to 0.13 (2023-04-04) |
257 |
263 |
|
|
258 |
264 |
Made "withicase" and "withrcase" affect how files are sorted before |
Made "withicase" and "withrcase" affect how files are sorted before |
File data/vifm-media changed (mode: 100755) (index a6d1743c4..432b0b031) |
... |
... |
function list() { |
24 |
24 |
continue |
continue |
25 |
25 |
fi |
fi |
26 |
26 |
|
|
27 |
|
if grep -qe '^\s*removable:\s*0\s*$' <<< "$out"; then |
|
|
27 |
|
if grep -qe '^\s*removable:\s*0\s*$' <<< "$out" && |
|
28 |
|
grep -qe '^\s*system internal:\s*1\s*$' <<< "$out"; then |
|
29 |
|
# skip drives which aren't detachable |
28 |
30 |
continue |
continue |
29 |
31 |
fi |
fi |
30 |
32 |
|
|