mirror of
https://github.com/linuxserver/docker-baseimage-kasmvnc.git
synced 2026-02-20 08:28:57 +08:00
reverse full logic to remove on init if not included
This commit is contained in:
parent
b59e67c976
commit
8a0e3d80de
@ -322,7 +322,8 @@ RUN \
|
||||
ln -s /usr/local/lib/kasmvnc /usr/lib/kasmvncserver && \
|
||||
echo "**** openbox tweaks ****" && \
|
||||
sed -i \
|
||||
's/NLIMC/NLMC/g' \
|
||||
-e 's/NLIMC/NLMC/g' \
|
||||
-e 's|</applications>| <application class="*"><maximized>yes</maximized></application>\n</applications>|' \
|
||||
/etc/xdg/openbox/rc.xml && \
|
||||
echo "**** kasm support ****" && \
|
||||
mkdir -p /kasmbins && \
|
||||
|
||||
@ -322,7 +322,8 @@ RUN \
|
||||
ln -s /usr/local/lib/kasmvnc /usr/lib/kasmvncserver && \
|
||||
echo "**** openbox tweaks ****" && \
|
||||
sed -i \
|
||||
's/NLIMC/NLMC/g' \
|
||||
-e 's/NLIMC/NLMC/g' \
|
||||
-e 's|</applications>| <application class="*"><maximized>yes</maximized></application>\n</applications>|' \
|
||||
/etc/xdg/openbox/rc.xml && \
|
||||
echo "**** kasm support ****" && \
|
||||
mkdir -p /kasmbins && \
|
||||
|
||||
@ -39,9 +39,9 @@ if [[ ! -z ${NO_DECOR+x} ]] && [[ ! -f /decorlock ]]; then
|
||||
fi
|
||||
|
||||
# Fullscreen everything in openbox unless the user explicitly disables it
|
||||
if [[ -z ${NO_FULL+x} ]] && [[ ! -f /fulllock ]]; then
|
||||
if [[ ! -z ${NO_FULL+x} ]] && [[ ! -f /fulllock ]]; then
|
||||
sed -i \
|
||||
's|</applications>| <application class="*"><maximized>yes</maximized></application>\n</applications>|' \
|
||||
'/<application class="\*"><maximized>yes<\/maximized><\/application>/d' \
|
||||
/etc/xdg/openbox/rc.xml
|
||||
touch /fulllock
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user