SC2034: Remove unused variable
This commit is contained in:
parent
caf43c1c53
commit
6d6a8451f1
@ -36,7 +36,6 @@ if [ -n "$display" ] && [ "$DISPLAY" != "$display" ]; then
|
|||||||
export DISPLAY="$display"
|
export DISPLAY="$display"
|
||||||
elif [ -n "$KDE_FULL_SESSION" ]; then
|
elif [ -n "$KDE_FULL_SESSION" ]; then
|
||||||
kde_running=1
|
kde_running=1
|
||||||
kde_ver="$KDE_SESSION_VERSION"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for presence of xprop binary
|
# Check for presence of xprop binary
|
||||||
@ -47,7 +46,6 @@ if [ -n "$DISPLAY" ] && [ $XPROP -eq 0 ]; then
|
|||||||
xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null
|
xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null
|
||||||
if test $? -eq 0; then
|
if test $? -eq 0; then
|
||||||
kde_running=1
|
kde_running=1
|
||||||
kde_ver="`xprop -root | sed -n 's/KDE_SESSION_VERSION(CARDINAL) = //p'`" 2>/dev/null
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user