use of apt-get instead of pkg

This commit is contained in:
Mylloon 2024-03-30 18:25:54 +01:00
parent c4be19b6ea
commit fdb5339156
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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 ==