mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[system] add (basic) installation script
This commit is contained in:
parent
3224d11496
commit
6f291c8a35
1 changed files with 15 additions and 0 deletions
15
system/install.sh
Executable file
15
system/install.sh
Executable 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
|
Loading…
Reference in a new issue