Cleanup and update stuff
This commit is contained in:
parent
8364becef3
commit
b9d5b166f4
25 changed files with 253 additions and 93 deletions
10
utils.sh
Normal file
10
utils.sh
Normal 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}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue