Blame SOURCES/no-python3.patch

9563ec
diff -urNp file-roller-3.28.0.old/postinstall.py file-roller-3.28.0/postinstall.py
9563ec
--- file-roller-3.28.0.old/postinstall.py	2018-06-06 13:50:07.196718573 +0100
9563ec
+++ file-roller-3.28.0/postinstall.py	2018-06-06 13:55:42.210647307 +0100
9563ec
@@ -1,4 +1,4 @@
9563ec
-#!/usr/bin/env python3
9563ec
+#!/usr/bin/env python
9563ec
 
9563ec
 import os
9563ec
 import subprocess
9563ec
@@ -8,19 +8,19 @@ datadir = os.path.join(prefix, 'share')
9563ec
 
9563ec
 # Packaging tools define DESTDIR and this isn't needed for them
9563ec
 if 'DESTDIR' not in os.environ:
9563ec
-    print('Updating icon cache…')
9563ec
+    print('Updating icon cache')
9563ec
     icon_cache_dir = os.path.join(datadir, 'icons', 'hicolor')
9563ec
     if not os.path.exists(icon_cache_dir):
9563ec
         os.makedirs(icon_cache_dir)
9563ec
     subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir])
9563ec
 
9563ec
-    print('Updating desktop database…')
9563ec
+    print('Updating desktop database')
9563ec
     desktop_database_dir = os.path.join(datadir, 'applications')
9563ec
     if not os.path.exists(desktop_database_dir):
9563ec
         os.makedirs(desktop_database_dir)
9563ec
     subprocess.call(['update-desktop-database', '-q', desktop_database_dir])
9563ec
 
9563ec
-    print('Compiling GSettings schemas…')
9563ec
+    print('Compiling GSettings schemas')
9563ec
     schemas_dir = os.path.join(datadir, 'glib-2.0', 'schemas')
9563ec
     if not os.path.exists(schemas_dir):
9563ec
         os.makedirs(schemas_dir)