forked from kiss-community/kiss
kiss: minor changes
- Drop zip support. Repositories don't use it for anything, it has no standard interface, the code is rather naive (does not strip any parent directory so build files must cd (dir may change...). Also.. the current zip code will prompt the user if there are any conflicts which is contrary to expected behavior (later sources overwrite prior files by design). - Use one pattern in checksum generation.
This commit is contained in:
parent
c4d3ba4390
commit
de24833038
6
kiss
6
kiss
@ -521,10 +521,6 @@ pkg_extract() {
|
||||
pkg_source_tar "$_res"
|
||||
;;
|
||||
|
||||
*.zip)
|
||||
unzip "$_res"
|
||||
;;
|
||||
|
||||
*?*)
|
||||
cp -Rf "$_res" .
|
||||
;;
|
||||
@ -1013,7 +1009,7 @@ pkg_checksums() {
|
||||
while read -r src dest || ok "$src"; do
|
||||
pkg_source_resolve "$repo_name" "$src" "$dest" >/dev/null
|
||||
|
||||
case $_res in git+*) ;; */*[!.])
|
||||
case $_res in [!g][!i][!t][!+]*/*[!.])
|
||||
set -- "$@" "$_res"
|
||||
esac
|
||||
done < "$repo_dir/sources"
|
||||
|
Loading…
Reference in New Issue
Block a user