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" "fzf"
"gawk" "gawk"
"git" "git"
"duf"
"keychain" "keychain"
"make" "make"
"pv" "pv"
@ -56,6 +57,7 @@ get-dependencies() {
generalBloat=( generalBloat=(
"nano" "nano"
"micro"
) )
depsDebian=( depsDebian=(
@ -145,6 +147,16 @@ init-nala() {
fi 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() { main() {
if $silent; then if $silent; then
pen bold yellow "Executing script silently!" 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)" pen bold yellow "There are no distro specific things to install for your distro: $(pen bold red $distro)"
;; ;;
esac esac
get-pika
} }
# WHY: # WHY: