armbian-build/lib/repo-show.sh
zador-blood-stained a190eebf43 Update the build script github repo address
Remove shebangs from non-executable files
2017-08-01 12:51:10 +03:00

28 lines
682 B
Bash

#!/bin/bash
#
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
#
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
# This file is a part of the Armbian build script
# https://github.com/armbian/build/
# This script shows packages in local repository
# load functions
source general.sh
DISTROS=("jessie" "xenial")
showall()
{
for release in "${DISTROS[@]}"; do
display_alert "Displaying repository contents for" "$release" "ext"
aptly repo show -with-packages -config=../config/aptly.conf $release | tail -n +7
done
}
showall