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!"
|
||||
}
|
||||
|
||||
echo "this is the dotfiles installer, version $(cd "$DOTFILES" && git describe --tags --always --dirty)"
|
||||
FUNC=install
|
||||
INSTALL_DEP=0
|
||||
store_config=0
|
||||
|
|
|
@ -45,6 +45,7 @@ for u in "${DFS_USERS[@]}";do
|
|||
echo "install for user $u in 3 seconds ..."
|
||||
sleep 3
|
||||
$SUCMD<<EOF
|
||||
set -e
|
||||
cd
|
||||
if [[ ! -f ~/dotfiles/install.sh ]];then
|
||||
git clone ${repo}
|
||||
|
|
Loading…
Reference in New Issue
Block a user