Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit beab64de authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Revert "make: Catch exception for no certdigest"

This reverts commit cb5bf5b9.
parent 395f5a2f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -21,10 +21,7 @@ def patch_trichrome(infilename, sign_key):
            data = zin.read(info.filename)
            if info.filename == 'AndroidManifest.xml':
                # Make sure we can find the certdigest
                try:
                data.rindex(orig_certdigest.encode('utf-16-le'))
                except:
                    pass
                # Replace it
                data = data.replace(orig_certdigest.encode('utf-16-le'), new_certdigest.encode('utf-16-le'))
            zout.writestr(info, data)