From 9408bdf86f3f914ce23111c2e503f51ead07be28 Mon Sep 17 00:00:00 2001 From: Xavier Claessens <xavier.claessens@collabora.com> Date: Thu, 17 Sep 2015 13:26:40 -0400 Subject: [PATCH] common.sh: remove unused code Differential Revision: https://phabricator.apertis.org/D533 --- common/common.sh | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/common/common.sh b/common/common.sh index 311750e..95a0184 100644 --- a/common/common.sh +++ b/common/common.sh @@ -116,42 +116,6 @@ setup_failure() { ############# # Utilities # ############# -# GSettings wrappers -- if you use these, ensure `libglib-2.0-bin` is installed -set_gsettings_key() { - local schema key value - schema=$1 - key=$2 - value=$3 - ${GSETTINGS} set "$schema" "$key" "$value" -} - -get_gsettings_key() { - local schema key value - schema=$1 - key=$2 - ${GSETTINGS} get "$schema" "$key" -} - -reset_gsettings_key() { - local schema key - schema=$1 - key=$2 - ${GSETTINGS} reset "$schema" "$key" -} - -reset_gsettings_schema() { - local schema - schema=$1 - ${GSETTINGS} reset-recursively "$schema" -} - -# Any string results will be returned in single quotes, so you must call the -# function like: -# gsettings_key_is org.freedesktop.foo bar "'qux'" -gsettings_key_is() { - [[ $(get_gsettings_key "$1" "$2") == "$3" ]] -} - create_temp_workdir() { local tempdir="${WORKDIR}/temp-$RANDOM" mkdir -vp "${tempdir}" 1>&2 @@ -361,7 +325,6 @@ WGET="${WGET:-wget -c}" # We disable apt-get, and just do a pass-through because these tests are # integrated into LAVA now #APT_GET="$(type -P true)" -GSETTINGS="${GSETTINGS:-gsettings}" GDBUS="${GDBUS:-gdbus}" # 0 = no output -- GitLab