more localizations

pull/8/head
Robert Nelson 15 years ago
parent fb41d2586f
commit 75ecd897de

@ -419,15 +419,14 @@ echo "done"
} }
function check_mmc { function check_mmc {
DISK_NAME="Disk|Platte|Disco" FDISK=$(sudo LC_ALL=C sfdisk -l 2>/dev/null | grep "[Disk] ${MMC}" | awk '{print $2}')
FDISK=$(sudo fdisk -l 2>/dev/null | grep "[${DISK_NAME}] ${MMC}" | awk '{print $2}')
if test "-$FDISK-" = "-$MMC:-" if test "-$FDISK-" = "-$MMC:-"
then then
echo "" echo ""
echo "I see..." echo "I see..."
echo "sudo fdisk -l:" echo "sudo sfdisk -l:"
sudo fdisk -l 2>/dev/null | grep "[${DISK_NAME}] /dev/" --color=never sudo LC_ALL=C sfdisk -l 2>/dev/null | grep "[Disk] /dev/" --color=never
echo "" echo ""
echo "mount:" echo "mount:"
mount | grep -v none | grep "/dev/" --color=never mount | grep -v none | grep "/dev/" --color=never
@ -439,8 +438,8 @@ function check_mmc {
echo "" echo ""
echo "Are you sure? I Don't see [${MMC}], here is what I do see..." echo "Are you sure? I Don't see [${MMC}], here is what I do see..."
echo "" echo ""
echo "sudo fdisk -l:" echo "sudo sfdisk -l:"
sudo fdisk -l 2>/dev/null | grep "[${DISK_NAME}] /dev/" --color=never sudo LC_ALL=C sfdisk -l 2>/dev/null | grep "[Disk] /dev/" --color=never
echo "" echo ""
echo "mount:" echo "mount:"
mount | grep -v none | grep "/dev/" --color=never mount | grep -v none | grep "/dev/" --color=never

Loading…
Cancel
Save