summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-07-29 01:33:36 +0100
committerColin Guthrie <colin@mageia.org>2014-07-29 01:42:38 +0100
commit94413eb36fb609eab7873f97926c3ee5c634ea8e (patch)
treeed64acd82f0d77b6a5ee532aa7ea7af690978700
parenta6432c73f660cfa196fa4ad061f789a93cd81bf4 (diff)
downloadmgatools-94413eb36fb609eab7873f97926c3ee5c634ea8e.tar
mgatools-94413eb36fb609eab7873f97926c3ee5c634ea8e.tar.gz
mgatools-94413eb36fb609eab7873f97926c3ee5c634ea8e.tar.bz2
mgatools-94413eb36fb609eab7873f97926c3ee5c634ea8e.tar.xz
mgatools-94413eb36fb609eab7873f97926c3ee5c634ea8e.zip
move: Rename mga-move-update to mga-move-pkg
The -update suffix was no longer relevant since support for other subsections than 'updates' was added. Also install it :)
-rw-r--r--Makefile1
-rwxr-xr-xmga-move-pkg (renamed from mga-move-update)2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8a0953f..2a44b07 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ install: $(ALL)
install mga-hdlists-cauldron $(DESTDIR)/usr/bin
install mga-hdlists-updates $(DESTDIR)/usr/bin
install mga-hdlists-backports $(DESTDIR)/usr/bin
+ install mga-move-pkg $(DESTDIR)/usr/bin
install -d $(DESTDIR)/$(PERL_VENDORLIB)/MGATools
for i in rpmsrate.pm iso.pm; do install pm/MGATools/$$i $(DESTDIR)/$(PERL_VENDORLIB)/MGATools/; done
diff --git a/mga-move-update b/mga-move-pkg
index b8529c1..3bfcae3 100755
--- a/mga-move-update
+++ b/mga-move-pkg
@@ -188,7 +188,7 @@ else
fi
cat "$mailcommands" >>"$mailcontent"
- /usr/bin/mailx -s "mga-move-update $release $section $srcname" -S "from=$moveupdate_mailfrom" "$moveupdate_mailto" < "$mailcontent"
+ /usr/bin/mailx -s "$0 $release $section $srcname" -S "from=$moveupdate_mailfrom" "$moveupdate_mailto" < "$mailcontent"
if [ -n "$sync" ]; then
update_distro_hdlist "$release" "$section" "$sourcesubsection"