We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0162026 commit 30664e1Copy full SHA for 30664e1
udroid/src/udroid.sh
@@ -974,14 +974,14 @@ list() {
974
echo -e "|----------------|$_size_line" >> $tempfile
975
976
for custom_fs in $(ls $path | grep -E "^custom-"); do
977
- # remove "custom-" from the name only at the begining of the string
978
- custom_fs=$(echo $custom_fs | sed -e 's/^custom-//')
979
if [[ -d $path/$custom_fs ]]; then
980
if [[ $size == true ]]; then
981
_size="$(du -sh $path/$custom_fs 2> /dev/null | awk '{print $1}') |"
982
else
983
_size=""
984
fi
+ # remove "custom-" from the name only at the begining of the string
+ custom_fs=$(echo $custom_fs | sed -e 's/^custom-//')
985
echo -e "|$custom_fs|$_size" >> $tempfile
986
987
done
0 commit comments