SpectreOS-old/update-packages

23 lines
317 B
Text
Raw Normal View History

2018-08-22 00:33:30 +02:00
#!/bin/bash
set -ex
repo=SpectreOS
repo1=shell-scripte
cd /opt/${repo}
git reset --hard
git pull
function standartinstallation() {
pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm --ignore linux
}
standartinstallation
cd /opt/${repo1}
git reset --hard
git pull
echo "Fertig!!!"