Преглед изворни кода

update setup.sh

pull/1/head
10sr пре 11 година
родитељ
комит
2535687e99
1 измењених фајлова са 23 додато и 5 уклоњено
  1. +23
    -5
      setup.sh

+ 23
- 5
setup.sh Прегледај датотеку

@@ -86,6 +86,12 @@ git_config(){
fi
}

install_files(){
src_hilite_src="`pwd`/conf/src-hilite.style"
src_hilite_dst="$HOME/.local/share/source-highlight/src_hilite.style"
install -D --backup "$src_hilite_src" "$src_hilite_dst"
}

mac_defaults(){
test "`uname`" = Darwin || return 1

@@ -115,10 +121,22 @@ mac_start_daemon(){
fi
}

get_install_script http://www.frexx.de/xterm-256-notes/data/colortable16.sh \
http://www.frexx.de/xterm-256-notes/data/256colors2.pl
default(){
get_install_script \
http://www.frexx.de/xterm-256-notes/data/colortable16.sh \
http://www.frexx.de/xterm-256-notes/data/256colors2.pl

git_config

git_config
mac_defaults
mac_start_daemon

install_files
}

mac_defaults
mac_start_daemon
if test $# -eq 0
then
default
else
"$@"
fi

Loading…
Откажи
Сачувај