Lint: Stop using internal function msg2

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-04-21 19:22:18 +02:00
parent b5074332cf
commit bbf5452b61
Signed by: luzifer
GPG Key ID: 0066F03ED215AD7D

View File

@ -34,10 +34,10 @@ sha512sums=('376692d11e04a1d2f580133cab243a28a24d21a9044abbeb63531113693eb5b3d3b
'349fc419796bdea83ebcda2c33b262984ce4d37f2a0a13ef7e1c87a9f619fd05eb8ff1d41687f51b907b43b9a2c3b4a33b9b7c3a3b28c12cf9527ffdbd1ddf2e') '349fc419796bdea83ebcda2c33b262984ce4d37f2a0a13ef7e1c87a9f619fd05eb8ff1d41687f51b907b43b9a2c3b4a33b9b7c3a3b28c12cf9527ffdbd1ddf2e')
package() { package() {
msg2 "Extracting the data.tar.xz..." echo " -> Extracting the data.tar.xz..."
bsdtar -xf data.tar.xz -C "$pkgdir/" bsdtar -xf data.tar.xz -C "$pkgdir/"
msg2 "Moving stuff in place..." echo " -> Moving stuff in place..."
# Launcher # Launcher
install -m755 google-chrome-$_channel.sh "$pkgdir"/usr/bin/google-chrome-$_channel install -m755 google-chrome-$_channel.sh "$pkgdir"/usr/bin/google-chrome-$_channel
@ -50,7 +50,7 @@ package() {
# License # License
install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome-$_channel/eula_text.html install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome-$_channel/eula_text.html
msg2 "Fixing Chrome icon resolution..." echo " -> Fixing Chrome desktop entry..."
sed -i \ sed -i \
-e "/Exec=/i\StartupWMClass=Google-chrome-$_channel" \ -e "/Exec=/i\StartupWMClass=Google-chrome-$_channel" \
-e "s/x-scheme-handler\/ftp;\?//g" \ -e "s/x-scheme-handler\/ftp;\?//g" \