Improve first-time installation security-wise.
Creating an empty repository will force the updater to do verification of all commits from the beginning first.master
parent
9b6a160fce
commit
8a0b26fe1d
|
@ -8,7 +8,8 @@ file_changed() {
|
|||
|
||||
if [ ! -d ~/.local/profile-git ]; then
|
||||
mkdir -p ~/.local/profile-git
|
||||
git clone --recursive https://git.icedream.tech/icedream/profile.git ~/.local/profile-git
|
||||
git init
|
||||
git remote add origin https://git.icedream.tech/icedream/profile.git ~/.local/profile-git
|
||||
fi
|
||||
|
||||
(
|
||||
|
@ -59,6 +60,7 @@ fi
|
|||
|
||||
echo "All commits passed, now applying updates..."
|
||||
git rebase origin
|
||||
git submodule update --init
|
||||
|
||||
echo "Running package installation..."
|
||||
cd packages
|
||||
|
|
Loading…
Reference in New Issue