diff --git a/archbox-desktop.bash b/archbox-desktop.bash old mode 100755 new mode 100644 diff --git a/archbox.bash b/archbox.bash old mode 100755 new mode 100644 diff --git a/archboxcommand.bash b/archboxcommand.bash old mode 100755 new mode 100644 diff --git a/archboxinit.bash b/archboxinit.bash old mode 100755 new mode 100644 diff --git a/chroot_setup.bash b/chroot_setup.bash old mode 100755 new mode 100644 index e7d38de..5283395 --- a/chroot_setup.bash +++ b/chroot_setup.bash @@ -15,13 +15,10 @@ pacman-key --init pacman-key --populate archlinux msg "Installing essential packages..." pacman -Syu base base-devel xorg pulseaudio nano --noconfirm -msg "Installing servicectl..." -mkdir -p /usr/local/share/servicectl/enabled -curl -L 'https://raw.githubusercontent.com/lemniskett/servicectl/master/servicectl' > /usr/local/share/servicectl/servicectl 2>/dev/null -curl -L 'https://raw.githubusercontent.com/lemniskett/servicectl/master/serviced' > /usr/local/share/servicectl/serviced 2>/dev/null -chmod +x /usr/local/share/servicectl/service{d,ctl} -ln -s /usr/local/share/servicectl/servicectl /usr/local/bin/servicectl -ln -s /usr/local/share/servicectl/serviced /usr/local/bin/serviced +msg "Installing archboxctl..." +mkdir -p /usr/local/bin +curl https://raw.githubusercontent.com/lemniskett/archboxctl/master/archboxctl.bash > /usr/local/bin/archboxctl +chmod 755 /usr/local/bin/archboxctl msg "Setting up locale..." echo "Uncomment needed locale, enter to continue" read diff --git a/copyresolv.bash b/copyresolv.bash old mode 100755 new mode 100644 diff --git a/install.sh b/install.sh old mode 100755 new mode 100644 index c55a883..c191b98 --- a/install.sh +++ b/install.sh @@ -8,6 +8,7 @@ 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 install -v -D -m 755 ./remount_run.bash /usr/local/share/archbox/bin/remount_run install -v -D -m 755 ./chroot_setup.bash /usr/local/share/archbox/chroot_setup.bash +install -v -D -m 755 ./archboxctl.bash /usr/local/share/archbox/archboxctl.bash install -v -D -m 755 ./archboxinit.bash /usr/local/share/archbox/bin/archboxinit [[ -z $1 ]] && exit 0 diff --git a/remount_run.bash b/remount_run.bash old mode 100755 new mode 100644