This commit is contained in:
pika 2025-05-24 02:36:03 +02:00
parent d657ae4f4b
commit c60f14df24

View file

@ -19,12 +19,12 @@
# This only wokrs for generic package names, like neovim, or vim, or tmux etc.. # This only wokrs for generic package names, like neovim, or vim, or tmux etc..
# not every package packagemanager has the same packagenames for their packages.. # not every package packagemanager has the same packagenames for their packages..
getImports() { getImports() {
local url="https://git.k4li.de/scripts/imports/raw/branch/main/dreams.sh" local url="https://git.k4li.de/scripts/imports/raw/branch/main/dream.sh"
local import="$(mktemp)" local import="$(mktemp)"
if command_exists curl; then if command_exists curl; then
curl -fsSL $url -o $import curl -fsSL $url -o $import
elif command_exists wget; then elif command_exists wget; then
wget -o $import $url wget -O $import $url
else else
echo "curl/wget is required, but missing.." echo "curl/wget is required, but missing.."
exit 69 exit 69