[PATCH] makeupdates: copy .ui into spokes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Brian C. Lane" <bcl@xxxxxxxxxx>

---
 scripts/makeupdates |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/scripts/makeupdates b/scripts/makeupdates
index e0aaa39..b43100f 100755
--- a/scripts/makeupdates
+++ b/scripts/makeupdates
@@ -101,6 +101,13 @@ def copyUpdatedFiles(tag, updates, cwd):
 
         return lst
 
+    def install_to_dir(fname, relpath):
+        sys.stdout.write("Including %s\n" % fname)
+        outdir = os.path.join(updates, relpath)
+        if not os.path.isdir(outdir):
+            os.makedirs(outdir)
+        shutil.copy2(file, outdir)
+
     subdirs = []
 
     lines = doGitDiff(tag)
@@ -121,7 +128,9 @@ def copyUpdatedFiles(tag, updates, cwd):
            file.endswith('.sh') or file == 'configure.ac':
             continue
 
-        if file.startswith('pyanaconda/'):
+        if file.endswith('.ui'):
+            install_to_dir(file, "spokes")
+        elif file.startswith('pyanaconda/'):
             sys.stdout.write("Including %s\n" % (file,))
             update_filename = os.path.realpath(os.path.join(updates, file))
             update_dir = os.path.dirname(update_filename)
-- 
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux