Blame SOURCES/no-python3.patch

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