1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 18:38:00 +00:00

Improve config.sh

This commit is contained in:
Daniel Carrillo 2020-05-01 16:11:54 +02:00
parent fbea1d3124
commit 2f5cd1cb23

View File

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