diff --git a/install.sh b/install.sh index 58d627e..952287d 100755 --- a/install.sh +++ b/install.sh @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash mkdir -p /usr/local/share/archbox/bin cp -v ./archbox.bash /usr/local/bin/archbox -cp -v ./archbox.conf /etc/archbox.conf +[[ ! -e /etc/archbox.conf ]] && cp -v ./archbox.conf /etc/archbox.conf cp -v ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv cp -v ./archboxcommand.bash /usr/local/share/archbox/bin/archbox cp -v ./chroot_setup.bash /usr/local/share/archbox/chroot_setup.bash