use of apt-get instead of pkg
This commit is contained in:
parent
c4be19b6ea
commit
fdb5339156
1 changed files with 4 additions and 3 deletions
|
@ -13,15 +13,16 @@ cd "$(dirname "$0")" # change script directory
|
||||||
|
|
||||||
function main {
|
function main {
|
||||||
# === Variables ==
|
# === Variables ==
|
||||||
local repo
|
local repo apt_arg
|
||||||
repo=https://git.mylloon.fr/Anri/confOS/raw/branch/main
|
repo=https://git.mylloon.fr/Anri/confOS/raw/branch/main
|
||||||
|
apt_arg=-'y -o Dpkg::Options::="--force-confnew"'
|
||||||
|
|
||||||
# === Update ==
|
# === Update ==
|
||||||
pkg update -y
|
apt-get update "${apt_arg}"
|
||||||
|
|
||||||
|
|
||||||
# === Packages ==
|
# === Packages ==
|
||||||
pkg install -y fish eza tealdeer bat
|
apt-get install "${apt_arg}" fish eza tealdeer bat
|
||||||
|
|
||||||
|
|
||||||
# === Fish ==
|
# === Fish ==
|
||||||
|
|
Loading…
Reference in a new issue