From a96ffb6b5d96d21be1d5bfa8181d3aeb71da547c Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 2 Oct 2020 13:50:31 -0400 Subject: fix for devuan apparently UID is not transmitted everywhere, and also add some dependencies. --- src/usr/bin/myautomount-trayicon | 1 + 1 file changed, 1 insertion(+) (limited to 'src/usr/bin/myautomount-trayicon') diff --git a/src/usr/bin/myautomount-trayicon b/src/usr/bin/myautomount-trayicon index d6ccc9f..7760a56 100755 --- a/src/usr/bin/myautomount-trayicon +++ b/src/usr/bin/myautomount-trayicon @@ -1,5 +1,6 @@ #!/bin/sh # Part of myautomount project +test -z "${UID}" && export UID="$( $( which id ) -u "${USER}" )" . ${MYA_PREFIX}/etc/myautomount.conf MYA_USER_CFG="${XDG_CONFIG_HOME:-${HOME}/.config}/myautomount.conf" test -r "${MYA_USER_CFG}" && . "${MYA_USER_CFG}" -- cgit