Browse Source

Update log messages for Rainloop and Roundcube

Kristan Kenney 5 years ago
parent
commit
267bcadfb2
2 changed files with 10 additions and 2 deletions
  1. 5 1
      bin/v-add-sys-rainloop
  2. 5 1
      bin/v-add-sys-roundcube

+ 5 - 1
bin/v-add-sys-rainloop

@@ -169,5 +169,9 @@ fi
 #                       Logging                            #
 #----------------------------------------------------------#
 
-$BIN/v-log-action "system" "Info" "Plugins" "Rainloop enabled (Version: $version)."
+if [ "$UPDATE" = "yes" ]; then
+    $BIN/v-log-action "system" "Info" "Plugins" "Rainloop updated (Version: $version)."
+else
+    $BIN/v-log-action "system" "Info" "Plugins" "Rainloop enabled (Version: $version)."
+fi
 log_event "$OK" "$ARGUMENTS"

+ 5 - 1
bin/v-add-sys-roundcube

@@ -191,5 +191,9 @@ fi
 #                       Logging                            #
 #----------------------------------------------------------#
 
-$BIN/v-log-action "system" "Info" "Plugins" "Roundcube enabled (Version: $version)."
+if [ "$UPDATE" = "yes" ]; then
+    $BIN/v-log-action "system" "Info" "Plugins" "Roundcube updated (Version: $version)."
+else
+    $BIN/v-log-action "system" "Info" "Plugins" "Roundcube enabled (Version: $version)."
+fi
 log_event "$OK" "$ARGUMENTS"