profile/home/bin/update-profile

15 lines
225 B
Bash
Executable File

#!/bin/sh
if [ -d ~/.local/profile-git ]; then
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
)