Improve config.sh

This commit is contained in:
Daniel Carrillo 2020-05-01 16:11:54 +02:00
parent fbea1d3124
commit 2f5cd1cb23
1 changed files with 12 additions and 6 deletions

View File

@ -58,12 +58,18 @@ main()
{ {
cd "$(dirname "$0")" cd "$(dirname "$0")"
if [ x"$1" = x"--dump-dconf" ]; then case "$1" in
dconf_dumper --dump-dconf)
else dconf_dumper
copy_dotfiles ;;
dconf_loader --install)
fi copy_dotfiles
dconf_loader
;;
**)
echo "Usage: $0 <--dump-dconf|--install>"
;;
esac
cd - > /dev/null cd - > /dev/null
} }