2015-12-02 20:33:32 +01:00
|
|
|
#!/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
|
|
|
|
#
|
|
|
|
|
2016-07-21 18:25:22 +03:00
|
|
|
# This scripts shows packages in local repository
|
|
|
|
|
|
|
|
# load functions
|
|
|
|
source general.sh
|
2015-12-02 20:33:32 +01:00
|
|
|
|
2016-05-23 20:07:05 +02:00
|
|
|
DISTROS=("wheezy" "jessie" "trusty" "xenial")
|
2015-12-02 20:33:32 +01:00
|
|
|
|
2016-07-21 18:25:22 +03:00
|
|
|
showall()
|
2015-12-02 20:33:32 +01:00
|
|
|
{
|
2016-07-21 18:25:22 +03:00
|
|
|
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
|
2015-12-02 20:33:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
showall
|