diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-12-19 11:13:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-19 10:13:13 +0000 |
commit | d36ff138abc7aac647fbe519b75c2d65216779a2 (patch) | |
tree | 088683ef649ce27f8299a8b22f09b750c62977a3 | |
parent | 88b2651ba431bdc1a843f1cab03a082639765bd3 (diff) |
Replace dpkg with apt (#248)
dpkg is a backend tool not supposed to be used by end users for installing debs.
Also apt installs potentials dependencies.
-rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,9 +71,9 @@ __atuin_install_ubuntu(){ TEMP_DEB="$(mktemp)" && curl -Lo "$TEMP_DEB" "$ARTIFACT_URL" if command -v sudo &> /dev/null; then - sudo dpkg -i "$TEMP_DEB" + sudo apt install "$TEMP_DEB" else - su -l -c "dpkg -i '$TEMP_DEB'" + su -l -c "apt install '$TEMP_DEB'" fi rm -f "$TEMP_DEB" } |