mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
build: minor fixes.
This commit is contained in:
parent
8686cc458f
commit
d64ef39bd1
@ -22,7 +22,7 @@ main() {
|
||||
dpkg)
|
||||
dch --newversion="$VERSION-1" --urgency=medium --distribution=stable --controlmaint "Release $VERSION-1"
|
||||
dpkg-buildpackage -b -d --no-sign
|
||||
mv ../"${PKGNAME}_${VERSION}-1"_*.deb "$OUTPUT"
|
||||
mv ../"${PKGNAME}_${VERSION}-1"_*.deb .
|
||||
;;
|
||||
|
||||
rpm)
|
||||
|
@ -13,7 +13,10 @@ DISTRIBUTION="$(_lsb_release)"
|
||||
cd "$HOME/Projects/apparmor.d"
|
||||
case "$DISTRIBUTION" in
|
||||
arch) make pkg ;;
|
||||
debian | ubuntu | whonix) make dpkg ;;
|
||||
debian | ubuntu | whonix)
|
||||
make dpkg
|
||||
sudo rm -rf debian/.debhelper/
|
||||
;;
|
||||
opensuse*) make rpm ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user