diff options
author | Naglis Jonaitis | 2021-05-15 13:30:53 +0300 |
---|---|---|
committer | Naglis Jonaitis | 2021-05-15 13:30:53 +0300 |
commit | 7fe23e1435127d3abb3730f5d8ca248f506ac4ac (patch) | |
tree | f6625875713ce55bcce0a58d3cd2afe75a00c592 /PKGBUILD | |
parent | 36770323fdb2610219e67a5cf73fe177274f924f (diff) | |
download | packages-7fe23e1435127d3abb3730f5d8ca248f506ac4ac.tar.gz packages-7fe23e1435127d3abb3730f5d8ca248f506ac4ac.tar.bz2 packages-7fe23e1435127d3abb3730f5d8ca248f506ac4ac.zip |
Fix "no icon" issue
By default, the Thorium icon is put at
`/usr/share/icons/hicolor/0x0/apps/thorium.png` in the Linux *.deb,
however, application launchers do not pickup the `0x0` icon.
See also: https://github.com/edrlab/thorium-reader/issues/1241
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,4 +27,8 @@ package() { | |||
27 | 27 | ||
28 | # Install license | 28 | # Install license |
29 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | 29 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |
30 | |||
31 | # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241) | ||
32 | mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024 | ||
33 | install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" | ||
30 | } | 34 | } |