mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
xdm: source etc profile
This commit is contained in:
+5
-1
@@ -1,5 +1,5 @@
|
||||
name=xdm
|
||||
revision=1
|
||||
revision=2
|
||||
from_source=xdm
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
@@ -36,6 +36,10 @@ package() {
|
||||
cat > ${dest_dir}${prefix}/libexec/xdm/session_picker << 'EOF'
|
||||
#!/bin/sh
|
||||
|
||||
if [ -r /etc/profile ]; then
|
||||
source /etc/profile
|
||||
fi
|
||||
|
||||
for session in /usr/bin/nscde /usr/bin/fvwm3 /usr/bin/twm /usr/bin/xterm; do
|
||||
if [ -x "$session" ]; then
|
||||
exec "$session"
|
||||
|
||||
Reference in New Issue
Block a user