Commit ead1e823 authored by Mike Gabriel's avatar Mike Gabriel

* Tarball roller script:

+ Only install keystrokes.cfg when in full mode. + Only install nxproxy wrapper when in lite mode.
parent 4c462f28
......@@ -4,6 +4,9 @@ nx-libs (2:3.5.0.21-0) UNRELEASED; urgency=low
(for x2goagent). (Fixes: #199).
* Set NXAGENT_KEYSTROKEFILE to /etc/x2go/keystrokes.cfg for wrapper x2goagent.
* For vanilla nxagent move keystrokes.cfg from /etc/nx to /etc/nxagent.
* Tarball roller script:
+ Only install keystrokes.cfg when in full mode.
+ Only install nxproxy wrapper when in lite mode.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Thu, 28 Mar 2013 21:07:42 +0100
......
......@@ -111,10 +111,18 @@ for f in $(ls README* 2>/dev/null); do
done
mkdir -p bin/
# old releases introude the wrappers via quilt patch
for w in $(ls debian/wrappers/* 2>/dev/null); do
cp -v $w bin/
done
if [ "$MODE" = "lite" ]; then
# copy wrapper script nxproxy only into tarball
cp -v debian/wrappers/nxproxy bin/
else
# copy wrapper scripts into tarball
for w in $(ls debian/wrappers/* 2>/dev/null); do
cp -v $w bin/
done
# provide a default keystrokes.cfg file
mkdir -p etc
test -f etc/keystrokes.cfg || test -f debian/keystrokes.cfg && cp -v debian/keystrokes.cfg etc/keystrokes.cfg
fi
mv -v debian/changelog doc/changelog
......@@ -122,10 +130,6 @@ mv -v debian/changelog doc/changelog
test -f Makefile || test -f debian/Makefile.nx-libs && cp -v debian/Makefile.nx-libs Makefile
test -f replace.sh || test -f debian/Makefile.replace.sh && cp -v debian/Makefile.replace.sh replace.sh
# provide a default keystrokes.cfg file
mkdir -p etc
test -f etc/keystrokes.cfg || test -f debian/keystrokes.cfg && cp -v debian/keystrokes.cfg etc/keystrokes.cfg
# remove folders that we do not want to roll into the tarball
rm -Rf ".pc/"
rm -Rf "debian/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment