mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 14:21:27 +00:00
27 lines
668 B
Bash
27 lines
668 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=("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
|