Updated: Install.sh
This commit is contained in:
parent
5f303b3693
commit
aaaedcffaf
2 changed files with 10 additions and 15 deletions
|
|
@ -26,14 +26,12 @@ Zupt compresses and encrypts backup archives. LZ77+Huffman compression, AES-256-
|
|||
## Quick Start
|
||||
|
||||
```bash
|
||||
# Fast installation
|
||||
# 🚀 Fast installation
|
||||
curl -fsSL https://short.securityops.co/zupt | bash
|
||||
```
|
||||
|
||||
## Build & Install
|
||||
```
|
||||
# Build & Install
|
||||
|
||||
```bash
|
||||
git clone https://github.com/cristiancmoises/zupt.git && \
|
||||
cd zupt && \
|
||||
make && \
|
||||
|
|
|
|||
19
install.sh
19
install.sh
|
|
@ -1,30 +1,27 @@
|
|||
#!/usr/bin/env bash
|
||||
# Fast Installer - For GNU+Linux
|
||||
# Fast Installer for Zupt - GNU/Linux
|
||||
|
||||
set -e
|
||||
|
||||
echo "🔧 Installing zupt..."
|
||||
echo "🔧 Installing Zupt..."
|
||||
|
||||
# Create temporary directory
|
||||
TMP_DIR=$(mktemp -d)
|
||||
|
||||
# Clone repo
|
||||
# Clone and build
|
||||
git clone https://github.com/cristiancmoises/zupt.git "$TMP_DIR/zupt"
|
||||
|
||||
cd "$TMP_DIR/zupt"
|
||||
|
||||
# Build
|
||||
make clean
|
||||
make
|
||||
|
||||
# Install safely with proper permissions
|
||||
sudo install -m 755 zupt /usr/local/bin/
|
||||
# Install
|
||||
sudo make install
|
||||
|
||||
echo "✅ Installed to /usr/local/bin/zupt"
|
||||
echo "✅ Zupt successfully installed to /usr/local/bin/zupt"
|
||||
echo "🔒 You can now run: zupt"
|
||||
|
||||
# Cleanup
|
||||
cd ~
|
||||
rm -rf "$TMP_DIR"
|
||||
|
||||
echo "🧹 Cleanup done"
|
||||
echo "🔒 You can now run: zupt"
|
||||
echo "🧹 Cleanup completed"
|
||||
|
|
|
|||
Loading…
Reference in a new issue