fix: scripts modernize

This commit is contained in:
kilyabin
2025-11-24 02:43:06 +04:00
parent aa0bec0702
commit 04f6ea28ec
2 changed files with 57 additions and 3 deletions

View File

@@ -123,6 +123,13 @@ PROJECT_DIR="$( cd "$SCRIPT_DIR/.." && pwd )"
echo -e "${YELLOW}Project directory: $PROJECT_DIR${NC}"
echo -e "${YELLOW}Installation directory: $INSTALL_DIR${NC}\n"
# Pull latest changes in project root (if using git)
cd "$PROJECT_DIR"
if [ -d ".git" ]; then
echo -e "${YELLOW}Pulling latest changes from git...${NC}"
git pull
fi
# Create installation directory
echo -e "${YELLOW}Creating installation directory...${NC}"
mkdir -p "$INSTALL_DIR"