Make a backup copy of /sbin/pup_event_frontend_d just in case...
Place into Line 27 (before LANG=C)
Code: Select all
OLDLANG=$LANG
Code: Select all
format_size_func() {
[ ! $SIZE ] && SIZE=0
if [ $SIZE -gt 1048576 ];then #1024*1024
SIZE="`LANG=$OLDLANG dc $SIZE 1048576 \/ p`" #100613
SIZE="`LANG=$OLDLANG printf "%.1f" $SIZE`GB" #100613
else
if [ $SIZE -gt 99 ];then
SIZE="`LANG=$OLDLANG expr $SIZE \/ 1024`MB" #100613
else
SIZE="`LANG=$OLDLANG dc $SIZE 1024 \/ p`" #100613
SIZE="`LANG=$OLDLANG printf "%.1f" $SIZE`MB" #100613
fi
fi
[ "$SIZE" = "0.0MB" ] && SIZE="0"
}
If not, restore the file we edited and change !#/bin/ash to !#/bin/bash and repeat the last two steps. (re-align icons, restart X)
-TazOC