Merge branch '__package_update_index_alpine' into 'master'

alpine support added in __package_update_index

See merge request ungleich-public/cdist!809
remotes/origin/6.0
Darko Poljak 5 years ago
commit fe23355bfc
  1. 3
      cdist/conf/type/__package_update_index/explorer/currage
  2. 1
      cdist/conf/type/__package_update_index/explorer/type
  3. 4
      cdist/conf/type/__package_update_index/gencode-remote

@ -34,6 +34,9 @@ case "$type" in
echo 0
fi
;;
alpine)
echo 0
;;
*) echo "Your specified type ($type) is currently not supported." >&2
echo "Please contribute an implementation for it if you can." >&2
;;

@ -26,6 +26,7 @@ else
amazon|scientific|centos|fedora|redhat) echo "yum" ;;
debian|ubuntu|devuan) echo "apt" ;;
archlinux) echo "pacman" ;;
alpine) echo "apk" ;;
*)
echo "Don't know how to manage packages on: $os" >&2
exit 1

@ -47,6 +47,10 @@ case "$type" in
echo "pacman --noprogressbar --sync --refresh"
echo "pacman package database synced (age was: $currage)" >> "$__messages_out"
;;
alpine)
echo "apk update"
echo "apk package database updated."
;;
*)
echo "Don't know how to manage packages for type: $type" >&2
exit 1

Loading…
Cancel
Save