> for DESKTOP in $(echo "$XDG_CURRENT_DESKTOP" | sed 's/;/ /') > do > if [ "x$DESKTOP" = "xUnity" ] then > exit 0 > fi > done > stop
I just tried this, replacing the expression with 's/:/ /g', but it doesn't seem to work with Unity either.
« Back to merge proposal
> for DESKTOP in $(echo "$XDG_CURRENT_ DESKTOP" | sed 's/;/ /')
> do
> if [ "x$DESKTOP" = "xUnity" ] then
> exit 0
> fi
> done
> stop
I just tried this, replacing the expression with 's/:/ /g', but it doesn't seem to work with Unity either.