Commit 27c05058 authored by telyn's avatar telyn
Browse files

fix assignments in postinsts

parent dd3f801c
......@@ -26,8 +26,8 @@ monit_dir="/etc/symbiosis/monit.d"
mkdir -p "$monit_dir"
for i in incrond; do
monit_script = "/usr/share/symbiosis/monit/checks/$i"
link_target = "$monit_dir/$i"
monit_script="/usr/share/symbiosis/monit/checks/$i"
link_target="$monit_dir/$i"
if [ -x "$monit_script" ] && [ ! -e "$link_target" ]; then
echo "I: Adding symlink for Symbiosis Monit script for $i"
......
......@@ -83,8 +83,8 @@ monit_dir="/etc/symbiosis/monit.d"
mkdir -p "$monit_dir"
for i in pure-ftpd; do
monit_script = "/usr/share/symbiosis/monit/checks/$i"
link_target = "$monit_dir/$i"
monit_script="/usr/share/symbiosis/monit/checks/$i"
link_target="$monit_dir/$i"
if [ -x "$monit_script" ] && [ ! -e "$link_target" ]; then
echo "I: Adding symlink for Symbiosis Monit script for $i"
......
......@@ -82,8 +82,8 @@ monit_dir="/etc/symbiosis/monit.d"
mkdir -p "$monit_dir"
for i in apache2; do
monit_script = "/usr/share/symbiosis/monit/checks/$i"
link_target = "$monit_dir/$i"
monit_script="/usr/share/symbiosis/monit/checks/$i"
link_target="$monit_dir/$i"
if [ -x "$monit_script" ] && [ ! -e "$link_target" ]; then
echo "I: Adding symlink for Symbiosis Monit script for $i"
......
......@@ -54,8 +54,8 @@ monit_dir="/etc/symbiosis/monit.d"
mkdir -p "$monit_dir"
for i in cron sshd; do
monit_script = "/usr/share/symbiosis/monit/checks/$i"
link_target = "$monit_dir/$i"
monit_script="/usr/share/symbiosis/monit/checks/$i"
link_target="$monit_dir/$i"
if [ -x "$monit_script" ] && [ ! -e "$link_target" ]; then
echo "I: Adding symlink for Symbiosis Monit script for $i"
......
......@@ -19,8 +19,8 @@ monit_dir="/etc/symbiosis/monit.d"
mkdir -p "$monit_dir"
for i in mysqld; do
monit_script = "/usr/share/symbiosis/monit/checks/$i"
link_target = "$monit_dir/$i"
monit_script="/usr/share/symbiosis/monit/checks/$i"
link_target="$monit_dir/$i"
if [ -x "$monit_script" ] && [ ! -e "$link_target" ]; then
echo "I: Adding symlink for Symbiosis Monit script for $i"
......
......@@ -50,8 +50,8 @@ monit_dir="/etc/symbiosis/monit.d"
mkdir -p "$monit_dir"
for i in prosody; do
monit_script = "/usr/share/symbiosis/monit/checks/$i"
link_target = "$monit_dir/$i"
monit_script="/usr/share/symbiosis/monit/checks/$i"
link_target="$monit_dir/$i"
if [ -x "$monit_script" ] && [ ! -e "$link_target" ]; then
echo "I: Adding symlink for Symbiosis Monit script for $i"
......
Supports Markdown
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