diff --git a/archbox-desktop.bash b/archbox-desktop.bash index c46041b..75db991 100755 --- a/archbox-desktop.bash +++ b/archbox-desktop.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source /etc/archbox.conf diff --git a/archbox.bash b/archbox.bash index 503f4e1..a4dcc9e 100755 --- a/archbox.bash +++ b/archbox.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env source /etc/archbox.conf diff --git a/archboxcommand.bash b/archboxcommand.bash index 0b99948..aea345f 100755 --- a/archboxcommand.bash +++ b/archboxcommand.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source /etc/archbox.conf diff --git a/archboxinit.bash b/archboxinit.bash index 57c985a..0cc6389 100755 --- a/archboxinit.bash +++ b/archboxinit.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source /etc/archbox.conf diff --git a/chroot_setup.bash b/chroot_setup.bash index 28184d6..25ede46 100755 --- a/chroot_setup.bash +++ b/chroot_setup.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash err(){ echo "$(tput bold)$(tput setaf 1)==> $@ $(tput sgr0)" diff --git a/copyresolv.bash b/copyresolv.bash index cbf9619..2806988 100755 --- a/copyresolv.bash +++ b/copyresolv.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source /etc/archbox.conf -cp /etc/resolv.conf $CHROOT/etc/resolv.conf \ No newline at end of file +cp /etc/resolv.conf $CHROOT/etc/resolv.conf diff --git a/install.sh b/install.sh index 71cfe96..c55a883 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash mkdir -p /usr/local/share/archbox/bin install -v -D -m 755 ./archbox.bash /usr/local/bin/archbox diff --git a/remount_run.bash b/remount_run.bash index a33709c..11ac28e 100755 --- a/remount_run.bash +++ b/remount_run.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source /etc/archbox.conf