-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·40 lines (33 loc) · 898 Bytes
/
install.sh
File metadata and controls
executable file
·40 lines (33 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
set -e
VERSION="1.0.0"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m'
# Check dependencies
if ! command -v curl >/dev/null 2>&1; then
echo -e "${RED}Error: curl is required${NC}"
exit 1
fi
echo "=== Installing & Configuring Elephant-Iconify ==="
echo "Version: ${VERSION}"
echo ""
# Configure Walker
if [[ -f "$SCRIPT_DIR/configure_walker.sh" ]]; then
echo "Configuring Walker..."
"$SCRIPT_DIR/configure_walker.sh"
else
echo -e "${RED}Error: configure_walker.sh not found${NC}"
exit 1
fi
# Configure Elephant
if [[ -f "$SCRIPT_DIR/configure_elephant.sh" ]]; then
echo "Configuring Elephant..."
"$SCRIPT_DIR/configure_elephant.sh"
else
echo -e "${RED}Error: configure_elephant.sh not found${NC}"
exit 1
fi
echo -e "${GREEN}✓ Elephant-Iconify installed successfully!${NC}"
echo "Please restart Walker & Elephant"