From 5cd2cef151c5aa8102ee4555a02634d911c0c9dc Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 21 Aug 2025 15:06:26 +0200 Subject: checkpoint --- config/essentials/shell/aliases.sh | 1 - config/essentials/shell/functions.sh | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'config/essentials/shell') diff --git a/config/essentials/shell/aliases.sh b/config/essentials/shell/aliases.sh index 655a061..7ebbadc 100644 --- a/config/essentials/shell/aliases.sh +++ b/config/essentials/shell/aliases.sh @@ -333,5 +333,4 @@ else alias pkg_search_online='pacman -Ss' alias pkg_install='doas pacman -S' alias pkg_search_owned='pkgfile' - alias fi diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 478ee26..ef745c9 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -408,3 +408,19 @@ trclipo() transmission-remote autumn -a -w "/downloads/$choice" "$magnet" } + +debinstall() +{ + if [ "$1" ] + then + ar p "$1" data.tar.xz | + tar -xv -J; find usr -type f | + while read -r file + do + >&2 printf 'cp %s /usr/local/%s\n' "$file" "${file#usr/}" + doas cp "$file" "/usr/local${file#usr}" + done + else + >&2 printf 'usage: %s \n' "$0" + fi +} -- cgit v1.2.3-70-g09d2