Ref: Passt VeraCrypt-installation an.
This commit is contained in:
parent
e73e0dd077
commit
6dd19d00b1
@ -233,26 +233,10 @@ flatpak install flathub net.nokyan.Resources -y
|
|||||||
# Secrets
|
# Secrets
|
||||||
flatpak install flathub org.gnome.World.Secrets -y
|
flatpak install flathub org.gnome.World.Secrets -y
|
||||||
|
|
||||||
# URL des Pakets
|
echo "🔄 Installiere VeraCrypt..."
|
||||||
PACKAGE_URL="https://launchpad.net/veracrypt/trunk/1.26.20/+download/veracrypt-1.26.20-Debian-12-amd64.deb"
|
echo 'deb http://download.opensuse.org/repositories/home:/unit193:/veracrypt/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:unit193:veracrypt.list
|
||||||
|
curl -fsSL https://download.opensuse.org/repositories/home:unit193:veracrypt/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_unit193_veracrypt.gpg > /dev/null
|
||||||
# Zielverzeichnis für den Download
|
sudo apt update
|
||||||
TARGET_DIR="/tmp"
|
sudo apt install veracrypt
|
||||||
PACKAGE_NAME=$(basename "$PACKAGE_URL")
|
|
||||||
PACKAGE_PATH="$TARGET_DIR/$PACKAGE_NAME"
|
|
||||||
|
|
||||||
# Herunterladen des Pakets
|
|
||||||
echo "Lade VeraCrypt herunter..."
|
|
||||||
wget -O "$PACKAGE_PATH" "$PACKAGE_URL"
|
|
||||||
|
|
||||||
# Überprüfen, ob der Download erfolgreich war
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "Fehler beim Herunterladen von VeraCrypt."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Installation des Pakets mit apt
|
|
||||||
echo "Installiere VeraCrypt..."
|
|
||||||
sudo apt install -y "$PACKAGE_PATH"
|
|
||||||
|
|
||||||
echo "✅ Alle Programme wurden erfolgreich installiert!"
|
echo "✅ Alle Programme wurden erfolgreich installiert!"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user