3 # central installer script for instantOS
6 export PAPERSILENT="True"
8 if [ $(whoami) = "root" ] || [ $(whoami) = "manjaro" ] || [ $(whoami) = "archiso" ];; then
9 echo "user check successful"
11 echo "please run this as root"
15 RAW="https://raw.githubusercontent.com"
17 if ! grep -Eiq 'name.*(arch|manjaro)' /etc/os-release; then
18 curl -s "$RAW/instantOS/instantLOGO/master/ascii.txt"
19 echo "warning: distro unsupported"
22 REALUSERS="$(ls /home/ | grep -v '+')"
24 # run a tool as every existing
25 # "real"(there's a human behind it) user
28 for i in $REALUSERS; do
29 echo "processing user $i"
34 echo "installing dependencies"
35 /usr/share/instantutils/depend.sh
37 echo "root: installing tools"
38 /usr/share/instantutils/rootinstall.sh