File: dnf-test

package info (click to toggle)
dnf 4.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,820 kB
  • sloc: python: 27,723; xml: 771; sh: 131; makefile: 35
file content (18 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh


export LC_ALL=C


if [ ! -f ../../bin/dnf-3 ]; then
echo
echo 'DNF is not configured.'
echo 'Go to the project top directory and run following commands first:'
echo '$ cmake .'
echo '$ make'
echo
exit 1
fi


../../bin/dnf-3 --installroot=/tmp/dnf-test --config=etc/dnf/dnf.conf "$@"