1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

x11/plasma5-plasma-workspace: fix errors in Wayland-script

These are fairly basic and silly shell-script errors in the
startplasma-wayland.sh script (which might not even be needed,
if you start KDE Plasma-wayland some other way).

Derpy hat to me.
This commit is contained in:
Adriaan de Groot 2021-12-10 20:46:46 +01:00
parent c309175787
commit f6c8d421d3
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= plasma-workspace
DISTVERSION= ${KDE_PLASMA_VERSION}
PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma
MAINTAINER= kde@FreeBSD.org

View File

@ -52,7 +52,7 @@ fi
startup_dir=`/usr/bin/dirname "$0"`
startup_exe=`/usr/bin/basename "$0" .sh`
if [ -z "$LOGFILE" ] ; then
if [ -n "$LOGFILE" ] ; then
{
echo "Starting KDE Plasma Wayland from PID $$"
echo "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR"
@ -60,7 +60,7 @@ if [ -z "$LOGFILE" ] ; then
echo "startup=$startup_dir/$startup_exe"
} > $LOGFILE
exec $scaffolding $startup_dir/$startup_exe 2>&1 | tee -a $LOG
exec $scaffolding $startup_dir/$startup_exe 2>&1 | tee -a $LOGFILE
else
exec $scaffolding $startup_dir/$startup_exe
fi