add schema.sh for adding schema files in debian based systems

This commit is contained in:
Aliberk Sandıkçı 2024-06-22 18:41:58 +03:00
parent d945404da4
commit 17117d3d4c

7
schema.sh Executable file
View file

@ -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