Something went wrong. Try again.
Mirroring: https://github.com/MunifTanjim/scripts.sh
Something went wrong. Try again.
scripts.sh setup-isync
607 B · 26 lines
at main
123456789101112131415161718192021222324252627#!/usr/bin/env bash
set -euo pipefail
echo "Installing dependencies..."sudo apt install libsasl2-dev libsasl2-modules-kdexoauth2
source_archive="/tmp/isync-latest.tar.gz"
echo "Downloading source archive..."wget --continue --quiet --show-progress --timestamping "https://sourceforge.net/projects/isync/files/latest/download" -O "${source_archive}"
temp_dir=$(mktemp -d /tmp/isync--XXXXXXXXX)
echo "Extracting source archive..."tar --strip-components=1 -xvzf "${source_archive}" -C "${temp_dir}"
cd "${temp_dir}"
echo "Installing..."
./configuremakesudo make install
sudo rm -rf "${temp_dir}"