Updated: Install.sh
This commit is contained in:
parent
8f12d1014c
commit
ebde577859
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
|
## Quick Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Fast installation
|
# 🚀 Fast installation
|
||||||
curl -fsSL https://short.securityops.co/zupt | bash
|
curl -fsSL https://short.securityops.co/zupt | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Build & Install
|
||||||
```
|
```
|
||||||
# Build & Install
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/cristiancmoises/zupt.git && \
|
git clone https://github.com/cristiancmoises/zupt.git && \
|
||||||
cd zupt && \
|
cd zupt && \
|
||||||
make && \
|
make && \
|
||||||
|
|
|
||||||
19
install.sh
19
install.sh
|
|
@ -1,30 +1,27 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Fast Installer - For GNU+Linux
|
# Fast Installer for Zupt - GNU/Linux
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "🔧 Installing zupt..."
|
echo "🔧 Installing Zupt..."
|
||||||
|
|
||||||
# Create temporary directory
|
# Create temporary directory
|
||||||
TMP_DIR=$(mktemp -d)
|
TMP_DIR=$(mktemp -d)
|
||||||
|
|
||||||
# Clone repo
|
# Clone and build
|
||||||
git clone https://github.com/cristiancmoises/zupt.git "$TMP_DIR/zupt"
|
git clone https://github.com/cristiancmoises/zupt.git "$TMP_DIR/zupt"
|
||||||
|
|
||||||
cd "$TMP_DIR/zupt"
|
cd "$TMP_DIR/zupt"
|
||||||
|
|
||||||
# Build
|
|
||||||
make clean
|
make clean
|
||||||
make
|
make
|
||||||
|
|
||||||
# Install safely with proper permissions
|
# Install
|
||||||
sudo install -m 755 zupt /usr/local/bin/
|
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
|
# Cleanup
|
||||||
cd ~
|
cd ~
|
||||||
rm -rf "$TMP_DIR"
|
rm -rf "$TMP_DIR"
|
||||||
|
echo "🧹 Cleanup completed"
|
||||||
echo "🧹 Cleanup done"
|
|
||||||
echo "🔒 You can now run: zupt"
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue