Remove the ftp folder for 3.0 OS upgrade 45/87245/1 accepted/tizen/common/20160907.154508 accepted/tizen/ivi/20160908.004148 accepted/tizen/mobile/20160908.004053 accepted/tizen/tv/20160908.004110 accepted/tizen/wearable/20160908.004125 submit/tizen/20160907.050933
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 7 Sep 2016 06:45:19 +0000 (15:45 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 7 Sep 2016 06:45:19 +0000 (15:45 +0900)
Change-Id: I26695f042731674cd473716745944d69997f7ed5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/bluetooth-share_upgrade.sh

index 112bd61..f2d1d00 100644 (file)
@@ -8,11 +8,15 @@
 UPGRADE_DATA_DIR=/usr/share/upgrade/data/
 DATA_DIR=/opt/usr/data/bluetooth-share/
 DB_DIR_24=/opt/usr/dbspace
+FTP_DIR_24=/opt/share/bt-ftp
 
 # Remove 2.4 bluetooth db
 rm $DB_DIR_24/.bluetooth_trasnfer.db
 rm $DB_DIR_24/.bluetooth_trasnfer.db-journal
 
+# Remove 2.4 ftp folder
+rm -rf $FTP_DIR_24
+
 # Copy the script for creating 3.0 db
 mkdir -p $DATA_DIR