Skip to content

Commit 3d1a978

Browse files
committed
added /usr/sbin/ path to linuxmuster-linuxclient7.
1 parent db3cc9f commit 3d1a978

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
scriptDir=$(linuxmuster-linuxclient7 get-constant scriptDir)
1+
scriptDir=$(/usr/sbin/linuxmuster-linuxclient7 get-constant scriptDir)
22
source $scriptDir/executeHookWithEnvFix.sh onLogin

usr/share/linuxmuster-linuxclient7/scripts/executeHookWithEnvFix.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This script calls the desired hook and sources the temporary env
22
# file afterwards to apply environment changes from lmn-export and lmn-unset
33

4-
scriptDir=$(linuxmuster-linuxclient7 get-constant scriptDir)
4+
scriptDir=$(/usr/sbin/linuxmuster-linuxclient7 get-constant scriptDir)
55

66
if [ ! -f $scriptDir/$1 ]; then
77
echo "Unknown hook: $1!"
@@ -10,7 +10,7 @@ if [ ! -f $scriptDir/$1 ]; then
1010
fi
1111

1212
export LinuxmusterLinuxclient7EnvFixActive=1
13-
tmpEnvFile=$(linuxmuster-linuxclient7 get-constant tmpEnvironmentFilePath)
13+
tmpEnvFile=$(/usr/sbin/linuxmuster-linuxclient7 get-constant tmpEnvironmentFilePath)
1414

1515
rm -f $tmpEnvFile
1616

0 commit comments

Comments
 (0)