armbian-build/repo-show.sh
Vincent Legoll f360462d2a Fix trailing space characters at EOL (#472)
Done with sed, reverted the files that either had embedded patches
or that may come from external sources (to keep maintenance burden
down, by avoiding needless merge conflicts)

Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
2016-09-18 17:34:45 +03:00

28 lines
686 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 tool chain https://github.com/igorpecovnik/lib
#
# This script shows packages in local repository
# load functions
source general.sh
DISTROS=("wheezy" "jessie" "trusty" "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