summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2009-08-04 10:32:02 -0400
committerDavid Cantrell <dcantrell@redhat.com>2009-08-06 14:56:32 -1000
commit5c4eb1ee2ebda7be99b619be0ae736a1ac44ab87 (patch)
tree29790a0b695fbd3256cb671e6bf6f66719dd407c
parent96cf9a0ee5e1f50201cd151591731d8b4cb84caa (diff)
downloadanaconda-5c4eb1ee2ebda7be99b619be0ae736a1ac44ab87.tar.gz
anaconda-5c4eb1ee2ebda7be99b619be0ae736a1ac44ab87.tar.xz
anaconda-5c4eb1ee2ebda7be99b619be0ae736a1ac44ab87.zip
Delete unpackaged files on non-livearches.
-rw-r--r--anaconda.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/anaconda.spec.in b/anaconda.spec.in
index 577cb39bf..8dbf0e9ba 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -162,6 +162,8 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%ifarch %livearches
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/liveinst.desktop
+%else
+%{__rm} -rf %{buildroot}%{_bindir}/liveinst %{buildroot}%{_sbindir}/liveinst
%endif
%find_lang %{name}