From fdb53391561739d864f91966763ecbfd1e990a34 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 30 Mar 2024 18:25:54 +0100 Subject: [PATCH] use of apt-get instead of pkg --- termux.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/termux.sh b/termux.sh index cd6b06b..e983aaf 100644 --- a/termux.sh +++ b/termux.sh @@ -13,15 +13,16 @@ cd "$(dirname "$0")" # change script directory function main { # === Variables == - local repo + local repo apt_arg repo=https://git.mylloon.fr/Anri/confOS/raw/branch/main + apt_arg=-'y -o Dpkg::Options::="--force-confnew"' # === Update == - pkg update -y + apt-get update "${apt_arg}" # === Packages == - pkg install -y fish eza tealdeer bat + apt-get install "${apt_arg}" fish eza tealdeer bat # === Fish ==