]> git.pld-linux.org Git - packages/VirtualBox.git/blobdiff - mount.vdi
fixed translations
[packages/VirtualBox.git] / mount.vdi
old mode 100644 (file)
new mode 100755 (executable)
index 16bbf72..69fb458
--- a/mount.vdi
+++ b/mount.vdi
@@ -100,6 +100,8 @@ case "$magic" in
        ;;
 "<<< Sun VirtualBox Disk Image >>>")
        ;;
+"<<< Oracle VM VirtualBox Disk Image >>>")
+       ;;
 *)
        echo >&2 "$PROGRAM: $DEVICE: bad magic, not VDI image"
        exit 1
@@ -111,8 +113,8 @@ OFFSET=
 OLDIFS=$IFS
 IFS=", "
 for opt in $OPTIONS; do
-    KEY=${opt%=*};
-    VAL=${opt#*=};
+       KEY=${opt%=*};
+       VAL=${opt#*=};
        case "$KEY" in
        part|partition)
                PARTITION="$VAL"
@@ -162,5 +164,5 @@ fi
 # $MOUNTPOINT might not exist as mount can try to read it from /etc/fstab
 $MOUNT $MOUNTARGS ${FSTYPE:+-t "$FSTYPE"} ${MOUNTOPTIONS:+-o "$MOUNTOPTIONS"} "$DEVICE" "$MOUNTPOINT"
 if [ $? -ne 0 ]; then
-    echo >&2 "$PROGRAM: error mounting $DEVICE"
+       echo >&2 "$PROGRAM: error mounting $DEVICE"
 fi
This page took 0.028192 seconds and 4 git commands to generate.