From 78298f6926dc09e56c8a390958ce6431930b245b Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 13 Mar 2024 18:02:00 -0500 Subject: [PATCH] added restic to essentials scripts --- alpine/alpine-essentials.sh | 2 +- debian/debian-essentials.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alpine/alpine-essentials.sh b/alpine/alpine-essentials.sh index c7ed96a..5b513b5 100755 --- a/alpine/alpine-essentials.sh +++ b/alpine/alpine-essentials.sh @@ -11,7 +11,7 @@ echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/ # apk update and install essentials apk update && apk upgrade -apk add nano sudo pwgen curl wget qemu-guest-agent git bash-doc bash-completion openssh iputils --no-cache +apk add nano sudo pwgen curl wget qemu-guest-agent git bash-doc bash-completion openssh iputils restic --no-cache # change default shell to bash isInFile=$(cat /etc/passwd | grep -c "/bin/bash") diff --git a/debian/debian-essentials.sh b/debian/debian-essentials.sh index 840ebdd..6669d85 100755 --- a/debian/debian-essentials.sh +++ b/debian/debian-essentials.sh @@ -65,7 +65,7 @@ if [[ ! -d /dev/disk/by-id ]] fi # download and install packages -apt-get install -y hstr htop ncdu pwgen lsb-release cron qemu-guest-agent sudo nano curl wget zip unzip git rsync man-db cifs-utils nfs-common parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion +apt-get install -y restic hstr htop ncdu pwgen lsb-release cron qemu-guest-agent sudo nano curl wget zip unzip git rsync man-db cifs-utils nfs-common parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion # add akanealw user if not existing isInFile=$(cat /etc/passwd | grep -c "akanealw")