ksh is not installed on modern systems, assume some POSIX shell

This commit is contained in:
James Le Cuirot committed 2023-10-07 23:02:57 +01:00
1 parent c3185246ca
commit c7b5bbe441
1 file changed
+2 -2
+2 -2
View File
@@ -24,11 +24,11 @@ HOME_XINITRC="$HOME/.xinitrc"
if [ -f $XINITRC ]; then
echo "using xinitrc file: $XINITRC"
/bin/ksh $XINITRC
/bin/sh $XINITRC
else
echo "xinitrc file: $XINITRC not found"
if [ -f $DEFAULT_XINITRC ]; then
echo "using xinitrc: $DEFAULT_XINITRC"
/bin/ksh $DEFAULT_XINITRC
/bin/sh $DEFAULT_XINITRC
fi
fi