Remove obsolete code.

This commit is contained in:
Lemniskett 2021-01-13 13:20:53 +07:00 committed by GitHub
parent f29ff9f5a5
commit e207cdaf5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,11 +14,6 @@ asroot(){
[[ $EUID -ne 0 ]] && err "Run this as root!" [[ $EUID -ne 0 ]] && err "Run this as root!"
} }
#storeenv(){
# echo $DBUS_SESSION_BUS_ADDRESS > /tmp/archbox_dbus_session_address
# echo $XDG_RUNTIME_DIR > /tmp/archbox_xdg_runtime_dir
#}
storeenv() { storeenv() {
echo "# This will be sourced when entering Archbox" > /tmp/archbox_env echo "# This will be sourced when entering Archbox" > /tmp/archbox_env
[[ ! -z $WAYLAND_DISPLAY ]] && echo "WAYLAND_DISPLAY=$WAYLAND_DISPLAY" >> /tmp/archbox_env [[ ! -z $WAYLAND_DISPLAY ]] && echo "WAYLAND_DISPLAY=$WAYLAND_DISPLAY" >> /tmp/archbox_env