Bump alt-mysql to 1.2.11

This commit is contained in:
Marek Miklewicz
2026-07-04 15:50:46 +02:00
parent d71fcf9ace
commit 78e3d66d9a
3 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -8,10 +8,13 @@ fail() {
exit 1
}
[ "$(basename "$PLUGIN_DIR")" = "alt-mysql" ] || fail "plugin directory name is not alt-mysql"
case "$(basename "$PLUGIN_DIR")" in
alt-mysql|src) ;;
*) fail "plugin directory name is neither alt-mysql nor src" ;;
esac
grep -Fxq "name=alt-mysql" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf name is not alt-mysql"
grep -Fxq "id=alt-mysql" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf id is not alt-mysql"
grep -Fxq "version=1.2.10" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf version is not 1.2.10"
grep -Fxq "version=1.2.11" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf version is not 1.2.11"
grep -Fq "return '/CMD_PLUGINS/alt-mysql';" "$PLUGIN_DIR/exec/lib/AppContext.php" \
|| fail "AppContext base URL is not alt-mysql"
grep -Fq "\$pluginId = 'alt-mysql';" "$PLUGIN_DIR/exec/lib/DirectAdminUser.php" \