This commit is contained in:
pika 2025-06-08 15:50:25 +02:00
parent 114aa6fb99
commit 248093125b

View file

@ -41,6 +41,7 @@ get-dependencies() {
"fzf"
"gawk"
"git"
"duf"
"keychain"
"make"
"pv"
@ -56,6 +57,7 @@ get-dependencies() {
generalBloat=(
"nano"
"micro"
)
depsDebian=(
@ -145,6 +147,16 @@ init-nala() {
fi
}
get-pika() {
local inst_path=/usr/bin
tmpfile="$(mktemp)"
if ! command-exists pika; then
curl -fsSL https://git.k4li.de/scripts/imports/raw/branch/main/pika.sh -o $tmpfile
chmod +x $tmpfile
$_sudo cp $tmpfile "${inst_path}/pika"
fi
}
main() {
if $silent; then
pen bold yellow "Executing script silently!"
@ -181,6 +193,8 @@ main() {
pen bold yellow "There are no distro specific things to install for your distro: $(pen bold red $distro)"
;;
esac
get-pika
}
# WHY: