Skip to content
Snippets Groups Projects
Commit 02848cff authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

update-manager: fixed hwe-support-status

parent 6a006d3c
No related branches found
No related tags found
2 merge requests!307Etiona test mr,!179Corrected patch for make-bleachbit
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2008-2018 Ruben Rodriguez <ruben@trisquel.info> # Copyright (C) 2008-2020 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2019 Mason Hock <mason@masonhock.com> # Copyright (C) 2019 Mason Hock <mason@masonhock.com>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
...@@ -18,13 +18,13 @@ ...@@ -18,13 +18,13 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=9 VERSION=10
. ./config . ./config
rm UpdateManager/Core/LivePatchSocket.py rm UpdateManager/Core/LivePatchSocket.py
rm tests/test_livepatch_socket.py rm tests/test_livepatch_socket.py
patch -p1 < $DATA/remove-livepatch.patch patch --no-backup-if-mismatch -p1 < $DATA/remove-livepatch.patch
sed -i '/import LivePatchSocket/d' UpdateManager/Dialogs.py sed -i '/import LivePatchSocket/d' UpdateManager/Dialogs.py
sed -i '/self.check_livepatch_status/d' UpdateManager/Dialogs.py sed -i '/self.check_livepatch_status/d' UpdateManager/Dialogs.py
...@@ -49,10 +49,10 @@ EOF ...@@ -49,10 +49,10 @@ EOF
replace internet Internet . replace internet Internet .
replace Ubuntu Trisquel . replace Ubuntu Trisquel .
replace TrisquelDistroInfo UbuntuDistroInfo .
replace "Trisquel-Gettext" "Ubuntu-Gettext" . replace "Trisquel-Gettext" "Ubuntu-Gettext" .
sed -i 's/Trisquel 16.04 LTS to Trisquel 18.04 LTS/Trisquel 8.0 LTS to Trisquel 9.0 LTS/' HweSupportStatus/consts.py sed -i 's/Trisquel 16.04 LTS to Trisquel 18.04 LTS/Trisquel 8.0 LTS to Trisquel 9.0 LTS/' HweSupportStatus/consts.py
sed -i 's/TrisquelDistroInfo/UbuntuDistroInfo/' UpdateManager/UpdateManager.py
replace ubuntu-desktop trisquel . replace ubuntu-desktop trisquel .
replace kubuntu-desktop triskel . replace kubuntu-desktop triskel .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment