[chrome-gnome-shell] Drop managed policies.



commit 792c13555116d4de74b813c6136dda07e6eadf0f
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Mon Jun 12 23:19:46 2017 +0400

    Drop managed policies.
    
    Inline installation was implemented for extensions.gnome.org therefore we
    nо longer need policies.

 CMakeLists.txt                           |    5 -----
 contrib/policies/chrome-gnome-shell.json |    5 +++++
 policies/chrome-gnome-shell.json         |    5 -----
 3 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c91c3a5..4c3eed4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -159,8 +159,6 @@ if(BUILD_CONNECTOR)
                        "${CMAKE_BINARY_DIR}/")
        configure_file("${CMAKE_CURRENT_SOURCE_DIR}/connector/org.gnome.ChromeGnomeShell.service.in"
                        "${CMAKE_BINARY_DIR}/org.gnome.ChromeGnomeShell.service")
-       configure_file("${CMAKE_CURRENT_SOURCE_DIR}/policies/chrome-gnome-shell.json"
-                       "${CMAKE_BINARY_DIR}/")
 
        add_custom_target(firefox-native-manifest ALL
                        COMMAND "${JQ_EXECUTABLE}" -s "'add|del(.allowed_origins)'"
@@ -190,8 +188,6 @@ if(BUILD_CONNECTOR)
        install(FILES "${CMAKE_BINARY_DIR}/org.gnome.chrome_gnome_shell.firefox.json"
                        DESTINATION "${CMAKE_INSTALL_LIBDIR}/mozilla/native-messaging-hosts/"
                        RENAME "org.gnome.chrome_gnome_shell.json")
-       install(FILES "${CMAKE_BINARY_DIR}/chrome-gnome-shell.json" DESTINATION 
"/etc/opt/chrome/policies/managed/")
-       install(FILES "${CMAKE_BINARY_DIR}/chrome-gnome-shell.json" DESTINATION 
"/etc/chromium/policies/managed/")
 
        install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/connector/org.gnome.ChromeGnomeShell.desktop" DESTINATION 
"${CMAKE_INSTALL_DATADIR}/applications/")
        install(FILES "${CMAKE_BINARY_DIR}/org.gnome.ChromeGnomeShell.service" DESTINATION 
"${CMAKE_INSTALL_DATADIR}/dbus-1/services/")
@@ -211,7 +207,6 @@ if(BUILD_CONNECTOR)
        # https://svn0.us-east.freebsd.org/ports/head/www/chromium/files/patch-chrome_common_chrome__paths.cc
        if(CMAKE_SYSTEM_NAME MATCHES "DragonFly.*|FreeBSD")
                install(FILES "${CMAKE_BINARY_DIR}/org.gnome.chrome_gnome_shell.json" DESTINATION 
"/usr/local/etc/chrome/native-messaging-hosts/")
-               install(FILES "${CMAKE_BINARY_DIR}/chrome-gnome-shell.json" DESTINATION 
"/usr/local/etc/chrome/policies/managed/")
        endif(CMAKE_SYSTEM_NAME MATCHES "DragonFly.*|FreeBSD")
 endif(BUILD_CONNECTOR)
 
diff --git a/contrib/policies/chrome-gnome-shell.json b/contrib/policies/chrome-gnome-shell.json
new file mode 100644
index 0000000..c932c48
--- /dev/null
+++ b/contrib/policies/chrome-gnome-shell.json
@@ -0,0 +1,5 @@
+{
+       "ExtensionInstallForcelist": [
+               "gphhapmejobijbbhgpjhcjognlahblep;https://clients2.google.com/service/update2/crx";
+       ]
+}


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