summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/chroot-tools/libremakepkg7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index deb26b2..4b49931 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -122,7 +122,6 @@ usage() {
echo ' on the username'
echo ''
echo " -m <MAKEPKG> Use the command MAKEPKG instead of 'makepkg'"
- echo " -R Repackage"
echo ''
echo ' -h Show this message'
}
@@ -134,7 +133,6 @@ main() {
[[ $CHROOTCOPY != root ]] || CHROOTCOPY=copy
makepkg_args='-s --noconfirm -L '
- REPACKAGE=false
MAKEPKG=makepkg
while getopts 'n:l:m:Rh' arg ; do
@@ -142,7 +140,6 @@ main() {
n) CHROOT=$OPTARG;;
l) CHROOTCOPY=$OPTARG;;
m) MAKEPKG=$OPTARG;;
- R) REPACKAGE=true; makepkg_args+=' -R ';;
h) usage; exit 0;;
*) usage; exit 1;;
esac
@@ -183,11 +180,13 @@ main() {
export CARCH
chroot_init
+
libre_check_pkgbuild
- $REPACKAGE || chroot_extract
+ chroot_extract
libre_check_src
chroot_build
libre_check_pkg
+
copy_pkgs
copy_logs
}