Merge remote-tracking branch 'git.kebler.net/master' into giskard
commit
fab1d5f07f
|
@ -5,7 +5,9 @@ loginout_install() {
|
||||||
|
|
||||||
[[ ! $(systemctl list-units | grep lightdm) ]] && echo lightdm not running on this machine, aborting && return
|
[[ ! $(systemctl list-units | grep lightdm) ]] && echo lightdm not running on this machine, aborting && return
|
||||||
|
|
||||||
SDIR=$(adirname "$0")
|
SDIR=$(adirname "${BASH_SOURCE[0]}")
|
||||||
|
# echo source directory: $SDIR
|
||||||
|
|
||||||
|
|
||||||
pushd $SDIR &> /dev/null || exit
|
pushd $SDIR &> /dev/null || exit
|
||||||
[[ ! -d /etc/lightdm/lightdm.conf.d ]] && mkdir -p /etc/lightdm/lightdm.conf.d
|
[[ ! -d /etc/lightdm/lightdm.conf.d ]] && mkdir -p /etc/lightdm/lightdm.conf.d
|
||||||
|
@ -35,8 +37,8 @@ function add_user_session {
|
||||||
|
|
||||||
module_load confirm
|
module_load confirm
|
||||||
module_load helpers
|
module_load helpers
|
||||||
|
|
||||||
SDIR=$(adirname "$0")
|
SDIR=$(adirname "${BASH_SOURCE[0]}")
|
||||||
# echo source directory: $SDIR
|
# echo source directory: $SDIR
|
||||||
|
|
||||||
pushd $SDIR &> /dev/null || exit
|
pushd $SDIR &> /dev/null || exit
|
||||||
|
|
Reference in New Issue