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:
parent
fbea1d3124
commit
2f5cd1cb23
18
config.sh
18
config.sh
@ -58,12 +58,18 @@ main()
|
||||
{
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
if [ x"$1" = x"--dump-dconf" ]; then
|
||||
dconf_dumper
|
||||
else
|
||||
copy_dotfiles
|
||||
dconf_loader
|
||||
fi
|
||||
case "$1" in
|
||||
--dump-dconf)
|
||||
dconf_dumper
|
||||
;;
|
||||
--install)
|
||||
copy_dotfiles
|
||||
dconf_loader
|
||||
;;
|
||||
**)
|
||||
echo "Usage: $0 <--dump-dconf|--install>"
|
||||
;;
|
||||
esac
|
||||
|
||||
cd - > /dev/null
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user