summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-01-17 22:42:14 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-17 22:44:57 +0100
commit1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8 (patch)
tree68d27903bd1811b3d8164e68a259331a118b1d6d /partition.cpp
parentAdd sideload command for ORS (diff)
downloadandroid_bootable_recovery-1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8.tar
android_bootable_recovery-1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8.tar.gz
android_bootable_recovery-1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8.tar.bz2
android_bootable_recovery-1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8.tar.lz
android_bootable_recovery-1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8.tar.xz
android_bootable_recovery-1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8.tar.zst
android_bootable_recovery-1c1ac44eaa6e1e2a84e5da9c95b1d9387e0be1c8.zip
Diffstat (limited to '')
-rw-r--r--partition.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index b611e2499..14d5e8490 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -832,6 +832,9 @@ bool TWPartition::Wipe(string New_File_System) {
}
#endif
+ if (Mount_Point == "/cache")
+ DataManager::Output_Version();
+
if (TWFunc::Path_Exists("/.layout_version") && Mount(false))
TWFunc::copy_file("/.layout_version", Layout_Filename, 0600);