aidevops 3.0.3 → 3.0.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/VERSION +1 -1
- package/aidevops.sh +1 -1
- package/package.json +1 -1
- package/setup-modules/core.sh +6 -7
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.5
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
package/setup-modules/core.sh
CHANGED
|
@@ -427,6 +427,10 @@ check_requirements() {
|
|
|
427
427
|
local missing_deps=()
|
|
428
428
|
local missing_packages=()
|
|
429
429
|
|
|
430
|
+
# Detect package manager once for both package-name resolution and installation
|
|
431
|
+
local pkg_manager
|
|
432
|
+
pkg_manager=$(detect_package_manager)
|
|
433
|
+
|
|
430
434
|
# Check for required commands
|
|
431
435
|
# Format: command-name package-name (same when identical)
|
|
432
436
|
if ! command -v jq >/dev/null 2>&1; then
|
|
@@ -443,10 +447,8 @@ check_requirements() {
|
|
|
443
447
|
fi
|
|
444
448
|
if ! command -v sqlite3 >/dev/null 2>&1; then
|
|
445
449
|
missing_deps+=("sqlite3")
|
|
446
|
-
# Package name varies: sqlite3 on Debian/Ubuntu
|
|
447
|
-
|
|
448
|
-
pkg_mgr=$(detect_package_manager)
|
|
449
|
-
case "$pkg_mgr" in
|
|
450
|
+
# Package name varies: sqlite3 on Debian/Ubuntu (apt), sqlite on Homebrew/Fedora/Arch/Alpine
|
|
451
|
+
case "$pkg_manager" in
|
|
450
452
|
apt) missing_packages+=("sqlite3") ;;
|
|
451
453
|
*) missing_packages+=("sqlite") ;;
|
|
452
454
|
esac
|
|
@@ -455,9 +457,6 @@ check_requirements() {
|
|
|
455
457
|
if [[ ${#missing_deps[@]} -gt 0 ]]; then
|
|
456
458
|
print_warning "Missing required dependencies: ${missing_deps[*]}"
|
|
457
459
|
|
|
458
|
-
local pkg_manager
|
|
459
|
-
pkg_manager=$(detect_package_manager)
|
|
460
|
-
|
|
461
460
|
if [[ "$pkg_manager" == "unknown" ]]; then
|
|
462
461
|
print_error "Could not detect package manager"
|
|
463
462
|
echo ""
|
package/setup.sh
CHANGED
|
@@ -10,7 +10,7 @@ shopt -s inherit_errexit 2>/dev/null || true
|
|
|
10
10
|
# AI Assistant Server Access Framework Setup Script
|
|
11
11
|
# Helps developers set up the framework for their infrastructure
|
|
12
12
|
#
|
|
13
|
-
# Version: 3.0.
|
|
13
|
+
# Version: 3.0.5
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|