From: Kamil Konieczny Date: Mon, 11 May 2020 10:05:40 +0000 (+0200) Subject: utils: delete developers script setVconfKeys.sh X-Git-Tag: submit/tizen/20200720.225554^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89b926a115db4abb47f25c741ccd35f145077eda;p=profile%2Fcommon%2Fapps%2Fnative%2Faccessibility-setting.git utils: delete developers script setVconfKeys.sh This script is for setting keys on platform and is not needed after vconf keys got into image. Change-Id: I684cf190e561091708b1253cccd307f7842422e0 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 967b35b..efdfb73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,7 +88,6 @@ ENDFOREACH() INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/resource/icons DESTINATION ${RESDIR} FILES_MATCHING PATTERN "*.png") INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml DESTINATION ${TZ_SYS_RO_PACKAGES}) -INSTALL(PROGRAMS utils/setVconfKeys.sh DESTINATION scripts/) # i18n diff --git a/packaging/org.tizen.accessibility-setting-profile_common.spec b/packaging/org.tizen.accessibility-setting-profile_common.spec index a9bdf40..467373e 100644 --- a/packaging/org.tizen.accessibility-setting-profile_common.spec +++ b/packaging/org.tizen.accessibility-setting-profile_common.spec @@ -69,7 +69,6 @@ mkdir -p %{buildroot}/%{_datadir}/license cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/%{_datadir}/license/%{name} %post -%{AppDir}/scripts/setVconfKeys.sh %files %defattr(-,root,root,-) @@ -79,7 +78,6 @@ cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/%{_datadir}/license/%{name} %{_datadir}/license/%{name} %manifest %{name}.manifest %license LICENSE -%{AppDir}/scripts/setVconfKeys.sh %if %{with tests} diff --git a/project-tool b/project-tool index f75139d..3327f10 100755 --- a/project-tool +++ b/project-tool @@ -239,10 +239,6 @@ fi if [ $RUN_TESTS -eq 1 ]; then check_if_target_connected - echo $TEXT_INFO"Setting vconf keys..." - dir="$(dirname "$0")" - "$dir"/utils/setVconfKeys.sh "accessibilityTests/" - sdb root on sdb shell ' DATE=`date "+%F %X"` diff --git a/utils/setVconfKeys.sh b/utils/setVconfKeys.sh deleted file mode 100755 index 9fbd895..0000000 --- a/utils/setVconfKeys.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -VCONF_KEY_PREFIX=$1 - -if [ -f /etc/tizen-release ]; then - VCONFTOOL="vconftool set -f -t" -else - sdb root on - VCONFTOOL="sdb shell vconftool set -f -t" - sdb -d shell mount -o remount,rw / -fi - -# this path has to be synchronised with VCONF_PROJECT_PATH in src/VConfKeys.hpp -VCONF_PROJECT_PATH="db/setting/accessibility/accessibility-setting/" -VCONF_PROJECT_PREFIX=${VCONF_KEY_PREFIX}${VCONF_PROJECT_PATH}