From 4576acd40c4370b8e87a3fa637ab8a05b6517de9 Mon Sep 17 00:00:00 2001 From: "jaekuk, lee" Date: Thu, 29 Sep 2016 08:38:26 +0900 Subject: [PATCH] modify download-provider_upgrade.sh Change-Id: I4c63b7e32944493307467d172b7b4b709cfab626 Signed-off-by: jaekuk, lee --- download-provider_upgrade.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/download-provider_upgrade.sh b/download-provider_upgrade.sh index b72fa28..2807508 100755 --- a/download-provider_upgrade.sh +++ b/download-provider_upgrade.sh @@ -6,15 +6,17 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin #-------------------------------------------------# # Macro +. /etc/tizen-platform.conf +export `tzplatform-get --user $TZ_SYS_DEFAULT_USER TZ_USER_DOWNLOADS` + DOWNLOAD_DIR_24=/opt/usr/media/Downloads -DOWNLOAD_DIR_30=/opt/usr/home/owner/media/Downloads +DOWNLOAD_DIR_30=$TZ_USER_DOWNLOADS SOCK_DIR_24=/opt/data/download-provider DATA_INSTALL_DIR=/opt/usr/data/download-provider NOTIFY_DIR=$DATA_INSTALL_DIR/notify DATABASE_DIR=$DATA_INSTALL_DIR/database DATABASE_CLIENT_DIR=$DATABASE_DIR/clients - # Move mv $DOWNLOAD_DIR_24/.temp_download $DOWNLOAD_DIR_30 mv `find $DOWNLOAD_DIR_24/* -type f` $DOWNLOAD_DIR_30 -- 2.7.4