mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 08:18:51 -05:00
scripts/makepkg.in: Some more clean ups.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
This commit is contained in:
parent
9883c157f9
commit
40af40da4c
@ -1030,7 +1030,7 @@ if [ "$CLEANCACHE" = "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z $BUILDSCRIPT ]; then
|
if [ -z $BUILDSCRIPT ]; then
|
||||||
error "$(gettext "BUILDSCRIPT is undefined! Ensure you have updated makepkg.conf.")"
|
error "$(gettext "BUILDSCRIPT is undefined! Ensure you have updated %s.")" "$confdir/makepkg.conf"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1151,8 +1151,7 @@ if [ "$INFAKEROOT" = "1" ]; then
|
|||||||
exit 0 # $E_OK
|
exit 0 # $E_OK
|
||||||
fi
|
fi
|
||||||
|
|
||||||
date=$(date)
|
msg "$(gettext "Making package: %s")" "$pkgname $pkgver-$pkgrel ($(date))"
|
||||||
msg "$(gettext "Making package: %s")" "$pkgname $pkgver-$pkgrel ($date)"
|
|
||||||
|
|
||||||
if [ $EUID -eq 0 ]; then
|
if [ $EUID -eq 0 ]; then
|
||||||
warning "$(gettext "Running makepkg as root...")"
|
warning "$(gettext "Running makepkg as root...")"
|
||||||
@ -1166,8 +1165,7 @@ if [ "$SOURCEONLY" = "1" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
create_srcpackage
|
create_srcpackage
|
||||||
date=$(date)
|
msg "$(gettext "Source package created: %s")" "$pkgname ($(date))"
|
||||||
msg "$(gettext "Source package created: %s")" "$pkgname ($date)"
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1270,8 +1268,7 @@ fi
|
|||||||
|
|
||||||
removedeps
|
removedeps
|
||||||
|
|
||||||
date=$(date)
|
msg "$(gettext "Finished making: %s")" "$pkgname ($(date))"
|
||||||
msg "$(gettext "Finished making: %s")" "$pkgname ($date)"
|
|
||||||
|
|
||||||
installpackage
|
installpackage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user