itfin-mcp 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/install.sh +1 -1
package/package.json
CHANGED
package/scripts/install.sh
CHANGED
|
@@ -54,7 +54,7 @@ OLD_VERSION="$(version)"
|
|
|
54
54
|
LEGACY=""
|
|
55
55
|
if [[ -d "$DIR/.git" ]]; then
|
|
56
56
|
ORIGIN="$(git -C "$DIR" remote get-url origin 2>/dev/null || true)"
|
|
57
|
-
[[ "$ORIGIN" =~ ^https://github\.com/
|
|
57
|
+
[[ "$ORIGIN" =~ ^https://github\.com/steven-tailor/itfin-mcp(\.git)?$ && -z "$(git -C "$DIR" status --porcelain 2>/dev/null)" ]] \
|
|
58
58
|
|| fail "$DIR is a git repo other than an itfin-mcp install, or has local changes. Pick another folder with --dir."
|
|
59
59
|
LEGACY=1
|
|
60
60
|
OLD_VERSION="git"
|