fix(uninstall): reconcile extension-only installs
This commit is contained in:
1 parent
d83ad0ec12
commit
7186bd06ca
3 files changed
+3
-3
No files matched your search
@@ -30,7 +30,7 @@ installed_count=0
|
||||
for target_pair in "${targets[@]}"; do
|
||||
[ -f "$(manifest_path "${target_pair#*|}")" ] && installed_count=$((installed_count + 1))
|
||||
done
|
||||
if [ "$dry_run" = false ] && [ "$installed_count" -eq 0 ]; then
|
||||
if [ "$dry_run" = false ] && [ "$installed_count" -eq 0 ] && [ ! -f "$home_path/.my-ai-configuration/extensions.json" ]; then
|
||||
printf 'Not installed, nothing to uninstall.\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user