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 15320b5e40
commit 4b30b0cba8
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -33,10 +33,10 @@ sha512sums=('7a1453161acaeb67bc8ce2df15fd2870b903968581567761ef939ea91665fd36f71
'43519ec81d008c9f949ef52b98a718473913e888d99ff6598083e30cd1f07376b5e58a7639fd309ee19056c18eac58cbf6a31bec6bfd2509ebce9fa9d6919743') '43519ec81d008c9f949ef52b98a718473913e888d99ff6598083e30cd1f07376b5e58a7639fd309ee19056c18eac58cbf6a31bec6bfd2509ebce9fa9d6919743')
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
@ -49,7 +49,7 @@ package() {
# License # License
install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html
msg2 "Fixing Chrome icon resolution..." echo " -> Fixing Chrome desktop entry..."
sed -i \ sed -i \
-e "/Exec=/i\StartupWMClass=Google-chrome" \ -e "/Exec=/i\StartupWMClass=Google-chrome" \
-e "s/x-scheme-handler\/ftp;\?//g" \ -e "s/x-scheme-handler\/ftp;\?//g" \