correct condition -- should check on remote side

This commit is contained in:
tom 2019-10-08 18:38:33 +02:00
parent f35a1b9cdf
commit 48ed7f1754

View file

@ -18,8 +18,9 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
## "move" user-modified dirs to /etc/xymon to be managed by __xymon_config:
cat <<-EOT
if [ ! -L /usr/lib/xymon/server/ext ]; then
echo "mv /usr/lib/xymon/server/ext /etc/xymon"
echo "ln -s /etc/xymon/ext /usr/lib/xymon/server/"
echo "ext-dir moved and symlinked" >> "$__messages_out"
mv /usr/lib/xymon/server/ext /etc/xymon
ln -s /etc/xymon/ext /usr/lib/xymon/server/
fi
EOT