mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 14:16:59 +08:00
install.sh: will prompt version
This commit is contained in:
parent
86a3a1ca97
commit
0a602e5260
|
@ -292,6 +292,7 @@ uninstall()
|
||||||
fmt_note "done uninstalling!"
|
fmt_note "done uninstalling!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "this is the dotfiles installer, version $(cd "$DOTFILES" && git describe --tags --always --dirty)"
|
||||||
FUNC=install
|
FUNC=install
|
||||||
INSTALL_DEP=0
|
INSTALL_DEP=0
|
||||||
store_config=0
|
store_config=0
|
||||||
|
|
|
@ -45,6 +45,7 @@ for u in "${DFS_USERS[@]}";do
|
||||||
echo "install for user $u in 3 seconds ..."
|
echo "install for user $u in 3 seconds ..."
|
||||||
sleep 3
|
sleep 3
|
||||||
$SUCMD<<EOF
|
$SUCMD<<EOF
|
||||||
|
set -e
|
||||||
cd
|
cd
|
||||||
if [[ ! -f ~/dotfiles/install.sh ]];then
|
if [[ ! -f ~/dotfiles/install.sh ]];then
|
||||||
git clone ${repo}
|
git clone ${repo}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user