src/repoman-fullest: new script

Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-12-22 01:44:44 +01:00
parent 79e8f7bea6
commit b36108245a
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A

30
src/repoman-fullest Executable file
View File

@ -0,0 +1,30 @@
#!/bin/sh
trap 'exit 128' INT
export PATH
main() {
[ -f Manifest ] && rm -v Manifest
repoman --verbose manifest
repoman --verbose -Idx full
pkgcheckq --verbose scan
}
case ${1}
in
-h | -help | --help )
echo "Usage: ${0}"
echo "Performed in this script:"
echo "1. remove Manifest file"
echo "2. regen Manifest with 'repoman manifest'"
echo "3. Check with 'repoman -Idx full'"
echo "4. Check with 'pkgcheck scan'"
;;
* )
main
;;
esac