From 62794740c33b10cae2f72ee603ce95fe18c98235 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Mon, 1 Jun 2020 14:20:50 -0500 Subject: [PATCH] apt-get --- CHANGELOG.md | 7 ++++--- gravity-sync.sh | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d52c99..c31bb38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,9 +12,10 @@ - No new Star Trek references. #### 1.7.6 -- Detects `dbclient` install as alternative to OpenSSH Client. (DietPi) -- Attempts to install OpenSSH Client if not found, and Dropbear is not alternative. (DietPi) -- Fix bug with `dropbearkey` not finding .ssh folder +- Detects `dbclient` install as alternative to OpenSSH Client. +- Attempts to install OpenSSH Client if not found, and Dropbear is not alternative. +- Fix bug with `dropbearkey` not finding .ssh folder. +- Numerous fixes to accomidate DietPi in general. #### 1.7.5 - No code changes! diff --git a/gravity-sync.sh b/gravity-sync.sh index 3247f74..99e4d5a 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -640,6 +640,7 @@ function detect_sshkeygen { function distro_check { if hash apt-get 2>/dev/null then + PKG_MANAGER="apt-get" PKG_INSTALL="sudo apt-get --yes --no-install-recommends --quiet install" elif hash rpm 2>/dev/null then