mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-12-19 20:47:49 +08:00
getdfs: ${repo}
This commit is contained in:
parent
3694c40ad4
commit
fef1aa4160
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -122,7 +122,7 @@ jobs:
|
|||||||
|
|
||||||
- name: run the script
|
- name: run the script
|
||||||
run: |
|
run: |
|
||||||
bash tools/get.dotfiles.cn -asl
|
repo=https://github.com/DictXiong/dotfiles bash tools/get.dotfiles.cn -asl
|
||||||
|
|
||||||
- name: run tests
|
- name: run tests
|
||||||
shell: /bin/zsh -ileo PIPE_FAIL {0}
|
shell: /bin/zsh -ileo PIPE_FAIL {0}
|
||||||
|
|||||||
@ -45,7 +45,7 @@ for u in "${DFS_USERS[@]}";do
|
|||||||
$SUCMD<<EOF
|
$SUCMD<<EOF
|
||||||
cd
|
cd
|
||||||
if [[ ! -f ~/dotfiles/install.sh ]];then
|
if [[ ! -f ~/dotfiles/install.sh ]];then
|
||||||
git clone https://gitee.com/dictxiong/dotfiles
|
git clone ${repo}
|
||||||
fi
|
fi
|
||||||
if [[ "$DFS_SECURE" == "1" ]];then
|
if [[ "$DFS_SECURE" == "1" ]];then
|
||||||
echo "enter secure mode"
|
echo "enter secure mode"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user