2020-10-29 15:04:39 +00:00
|
|
|
#!/bin/bash
|
2020-10-27 06:12:14 +00:00
|
|
|
|
2020-10-28 03:02:56 +00:00
|
|
|
mkdir -p /usr/local/share/archbox/bin
|
2020-11-02 05:12:35 +00:00
|
|
|
install -v -D -m 755 ./archbox.bash /usr/local/bin/archbox
|
2020-12-15 07:11:47 +00:00
|
|
|
install -v -D -m 755 ./archbox-desktop.bash /usr/local/bin/archbox-desktop
|
2020-11-02 05:12:35 +00:00
|
|
|
[[ ! -e /etc/archbox.conf ]] && install -v -D -m 755 ./archbox.conf /etc/archbox.conf
|
|
|
|
install -v -D -m 755 ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv
|
|
|
|
install -v -D -m 755 ./archboxcommand.bash /usr/local/share/archbox/bin/archbox
|
2020-11-02 09:51:43 +00:00
|
|
|
install -v -D -m 755 ./remount_run.bash /usr/local/share/archbox/bin/remount_run
|
2020-11-02 05:12:35 +00:00
|
|
|
install -v -D -m 755 ./chroot_setup.bash /usr/local/share/archbox/chroot_setup.bash
|
2020-11-09 14:08:19 +00:00
|
|
|
install -v -D -m 755 ./archboxinit.bash /usr/local/share/archbox/bin/archboxinit
|
2020-11-03 15:45:26 +00:00
|
|
|
[[ -z $1 ]] && exit 0
|
|
|
|
|
2020-11-02 12:36:27 +00:00
|
|
|
if [ $1 = "--exp" ]; then
|
|
|
|
install -v -D -m 755 ./exp/startx-killxdg.bash /usr/local/bin/startx-killxdg
|
2020-11-03 15:45:26 +00:00
|
|
|
else
|
|
|
|
echo "Unknown install option: $1"
|
2020-11-02 12:36:27 +00:00
|
|
|
fi
|