diff --git a/helpers/config b/helpers/config index 086548dadf9fb348de8d604bf8701af837b65c00..9afecb1578a58c25af78dc8d3d5e8491856b5b3e 100755 --- a/helpers/config +++ b/helpers/config @@ -266,4 +266,8 @@ else fi } +remove_patch(){ + rm debian/patches/$1 + sed -i "/$1/d" debian/patches/series +} diff --git a/helpers/make-system-config-printer b/helpers/make-system-config-printer index 95d54047bbed79c5c36b5f1bd2a485bc953b5b0f..6d2bcfdb25bfcddca4f93b6e189165772ef44626 100644 --- a/helpers/make-system-config-printer +++ b/helpers/make-system-config-printer @@ -22,8 +22,14 @@ COMPONENT=main . ./config -sed 's/;GNOME;/;/' debian/patches/05_menu_entries.patch -i -cp $DATA/testpage* debian/local/ +sed -i '/+NotShowIn/s|;GNOME;|;|g' debian/patches/Hide-Printers-app-in-GNOME-and-KDE.patch \ + debian/patches/Do-not-autostart-the-applet-on-LXDE-or-Unity.patch + +remove_patch Allow-installing-non-free-drivers-from-OpenPrinting.patch +remove_patch Allow-installing-packages-from-OpenPrinting.patch + +#mkdir debian/local/ +#cp $DATA/testpage* debian/local/ #Recommend trisquel-app-installer over gnome-software sed 's|gnome-software.*|trisquel-app-install,|g' -i debian/control