diff --git a/archbox-desktop.bash b/archbox-desktop.bash index 8eae06e..bff055a 100644 --- a/archbox-desktop.bash +++ b/archbox-desktop.bash @@ -1,6 +1,6 @@ #!/usr/bin/env bash -source /etc/archbox.conf +source /etc/archbox.conf &>/dev/null install_desktop(){ mkdir -p ~/.local/share/applications/archbox diff --git a/enter.bash b/enter.bash index 76d04c5..d0b389e 100644 --- a/enter.bash +++ b/enter.bash @@ -1,7 +1,7 @@ #!/usr/bin/env bash -source /etc/archbox.conf -source /tmp/archbox_env +source /etc/archbox.conf &>/dev/null +source /tmp/archbox_env &>/dev/null REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS " REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR " @@ -10,4 +10,4 @@ REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR " ENV="$REQ_ENV $ENV_VAR" COMMAND="$@" -chroot $CHROOT /sbin/env $ENV /bin/su $ARCHBOX_USER \ No newline at end of file +chroot $CHROOT /sbin/env $ENV /bin/su $ARCHBOX_USER diff --git a/exec.bash b/exec.bash index d182fbd..092bab0 100644 --- a/exec.bash +++ b/exec.bash @@ -1,7 +1,7 @@ #!/usr/bin/env bash -source /etc/archbox.conf -source /tmp/archbox_env +source /etc/archbox.conf &>/dev/null +source /tmp/archbox_env &>/dev/null REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS " REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR " @@ -10,4 +10,4 @@ REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR " ENV="$REQ_ENV $ENV_VAR" COMMAND="$@" -chroot $CHROOT /bin/su -c "env $ENV $COMMAND" $ARCHBOX_USER \ No newline at end of file +chroot $CHROOT /bin/su -c "env $ENV $COMMAND" $ARCHBOX_USER diff --git a/uth.bash b/uth.bash index cb06189..ba7128f 100644 --- a/uth.bash +++ b/uth.bash @@ -1,7 +1,7 @@ #!/usr/bin/env bash -source /etc/archbox.conf -source /tmp/archbox_env +source /etc/archbox.conf &>/dev/null +source /tmp/archbox_env &>/dev/null case $1 in copyresolv)