From 17117d3d4c39b5993a90c5da8d9043717879a2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Sat, 22 Jun 2024 18:41:58 +0300 Subject: [PATCH] add schema.sh for adding schema files in debian based systems --- schema.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 schema.sh diff --git a/schema.sh b/schema.sh new file mode 100755 index 0000000..ff28a18 --- /dev/null +++ b/schema.sh @@ -0,0 +1,7 @@ +bash $(pwd "$0")/schemas/compile-schemas.sh +export GSETTINGS_SCHEMAS_PATH="$(pwd "$0")/schemas:$GSETTINGS_SCHEMAS_PATH" +export GSETTINGS_SCHEMA_DIR="$(pwd "$0")/schemas:$GSETTINGS_SCHEMA_DIR" +export XDG_DATA_DIRS="$(pwd "$0")/schemas:$XDG_DATA_DIRS" + +# run with: ./schema.sh +# don't forget to source with: . ./schema.sh