Browse Source

Unmount data partition if one was given

dir 7 years ago
parent
commit
33c44324fb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scripts/install.sh

+ 3 - 0
scripts/install.sh

@@ -624,5 +624,8 @@ fi
 (( quiet )) || print Finishing up...
 cd "$ADK_TOPDIR"
 umount_fs "$R"
+if (( datafssz )); then
+    umount_fs $datapart
+fi
 rm -rf "$T"
 exit 0