Cleanup and update stuff

This commit is contained in:
Tobias Reisinger 2023-07-02 13:42:44 +02:00
parent 8364becef3
commit b9d5b166f4
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
25 changed files with 253 additions and 93 deletions

10
utils.sh Normal file
View file

@ -0,0 +1,10 @@
_system_sed_path() {
echo "$1" | sed -e "s/\//_/g"
}
_system_install() {
temp_pkg=$1
temp_src=$(_system_sed_path "$temp_pkg")
# shellcheck disable=SC2154
install "-Dm${2:-644}" "${srcdir}/${temp_src}" "${pkgdir}/${temp_pkg}"
}