From 7da1b287dce14ed183ea2277943c5ae0b0bff1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Wed, 26 Aug 2015 20:44:26 -0300 Subject: fix xbs.d path and link db-repo-{add,remove} for compability reason --- src/bin/db-init | 4 ++-- src/bin/db-pkg-add | 4 ++-- src/bin/db-repo-add | 1 + src/bin/db-repo-remove | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) create mode 120000 src/bin/db-repo-add create mode 120000 src/bin/db-repo-remove diff --git a/src/bin/db-init b/src/bin/db-init index 7af069a..1038167 100755 --- a/src/bin/db-init +++ b/src/bin/db-init @@ -22,7 +22,7 @@ for 'platform' in "${PLATFORMS[@]}"; do _platform_name="${_platform/\//+}" _platform_name="${_platform_name,,}" if [ "${_platform_name}" == "${platform}" ]; then - source "${CONFIG_DIR}/dbscripts.d/${_platform_name}.cfg" + source "${CONFIG_DIR}/xbs.d/${_platform_name}.cfg" db-init_run else @@ -30,7 +30,7 @@ for 'platform' in "${PLATFORMS[@]}"; do fi done else - source "${CONFIG_DIR}/dbscripts.d/${platform}.cfg" + source "${CONFIG_DIR}/xbs.d/${platform}.cfg" db-init_run fi diff --git a/src/bin/db-pkg-add b/src/bin/db-pkg-add index 26fa483..37c3887 100755 --- a/src/bin/db-pkg-add +++ b/src/bin/db-pkg-add @@ -46,7 +46,7 @@ for 'platform' in "${PLATFORMS[@]}"; do _platform_name="${2/\//+}" _platform_name="${_platform_name,,}" if [ "${_platform_name}" == "${platform}" ]; then - source "${CONFIG_DIR}/dbscripts.d/${_platform_name}.cfg" + source "${CONFIG_DIR}/xbs.d/${_platform_name}.cfg" repo="$3" arch="$4" @@ -61,7 +61,7 @@ for 'platform' in "${PLATFORMS[@]}"; do db-pkg-add-usage fi - source "${CONFIG_DIR}/dbscripts.d/${platform}.cfg" + source "${CONFIG_DIR}/xbs.d/${platform}.cfg" repo="$1" arch="$2" diff --git a/src/bin/db-repo-add b/src/bin/db-repo-add new file mode 120000 index 0000000..94f9cee --- /dev/null +++ b/src/bin/db-repo-add @@ -0,0 +1 @@ +db-pkg-add \ No newline at end of file diff --git a/src/bin/db-repo-remove b/src/bin/db-repo-remove new file mode 120000 index 0000000..be2508d --- /dev/null +++ b/src/bin/db-repo-remove @@ -0,0 +1 @@ +db-pkg-rm \ No newline at end of file -- cgit v1.2.3