Updates one command-liner
Apparently PAM does not like nested scripts.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
You can install this configuration on a new system using
|
You can install this configuration on a new system using
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSL https://git.tuleu.science/atuleu/home/raw/branch/master/update.sh | bash
|
curl -sSL https://git.tuleu.science/atuleu/home/raw/branch/master/update.sh | bash && $HOME/.home/update.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Keeping it synced
|
## Keeping it synced
|
||||||
|
|||||||
@@ -260,12 +260,11 @@ function update_repos() {
|
|||||||
run_git submodule update
|
run_git submodule update
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -d "$HOME/.home" ]
|
if [ -z $BASH_SOURCE ] && [ ! -d "$HOME/.home" ]
|
||||||
then
|
then
|
||||||
echo "--- cloning git.tuleu.science:atuleu/home.git in $HOME/.home"
|
echo "--- cloning git.tuleu.science:atuleu/home.git in $HOME/.home"
|
||||||
pushd $HOME 1>/dev/null
|
pushd $HOME 1>/dev/null
|
||||||
run_git clone https://git.tuleu.science/atuleu/home.git .home
|
run_git clone https://git.tuleu.science/atuleu/home.git .home
|
||||||
.home/update.sh "$@"
|
|
||||||
popd 1>/dev/null
|
popd 1>/dev/null
|
||||||
else
|
else
|
||||||
update_home
|
update_home
|
||||||
|
|||||||
Reference in New Issue
Block a user