profile/home/bin/update-profile

16 lines
258 B
Plaintext
Raw Normal View History

2018-02-17 20:04:57 +00:00
#!/bin/sh
if [ ! -d ~/.local/profile-git ]; then
mkdir -p ~/.local/profile-git
2018-02-17 20:04:57 +00:00
git clone --recursive https://git.icedream.tech/icedream/profile.git ~/.local/profile-git
fi
(
cd ~/.local/profile-git
git pull
cd packages
./packages.sh
cd ..
./install.sh
)