[system] add (basic) installation script

This commit is contained in:
Dmytro Meleshko 2019-10-09 00:32:05 +03:00
parent 3224d11496
commit 6f291c8a35

15
system/install.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh
set -eu
distro="$(lsb_release -si)"
case "$distro" in
Arch)
cd arch
makepkg --syncdeps --force --install
;;
*)
echo >&2 "distro '$distro' is unsupported"
exit 1
;;
esac