[moserial: 8/11] Use install commands instead of cp
- From: Michael J. Chudobiak <mjc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [moserial: 8/11] Use install commands instead of cp
- Date: Fri, 23 Jul 2021 18:47:21 +0000 (UTC)
commit c565ae020991fb49b6bf1338a36ef55897f6ac5f
Author: Jordan Williams <jordan jwillikers com>
Date: Tue Jul 20 06:18:14 2021 -0500
Use install commands instead of cp
org.gnome.moserial.Devel.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/org.gnome.moserial.Devel.yaml b/org.gnome.moserial.Devel.yaml
index f54b91e..8b99898 100644
--- a/org.gnome.moserial.Devel.yaml
+++ b/org.gnome.moserial.Devel.yaml
@@ -23,8 +23,8 @@ modules:
- type: git
url: https://gitlab.gnome.org/GNOME/moserial.git
post-install:
- - mv /app/share/applications/moserial.desktop /app/share/applications/org.gnome.moserial.Devel.desktop
+ - install -Dm644 -T /app/share/applications/moserial.desktop
/app/share/applications/org.gnome.moserial.Devel.desktop
- sed -i 's/Icon=moserial/Icon=org.gnome.moserial.Devel/'
/app/share/applications/org.gnome.moserial.Devel.desktop
- - mv /app/share/icons/hicolor/48x48/apps/moserial.png
/app/share/icons/hicolor/48x48/apps/org.gnome.moserial.Devel.png
- - mv /app/share/metainfo/moserial.appdata.xml /app/share/metainfo/org.gnome.moserial.Devel.appdata.xml
+ - install -Dm644 -T /app/share/icons/hicolor/48x48/apps/moserial.png
/app/share/icons/hicolor/48x48/apps/org.gnome.moserial.Devel.png
+ - install -Dm644 -T /app/share/metainfo/moserial.appdata.xml
/app/share/metainfo/org.gnome.moserial.Devel.appdata.xml
- sed -i 's/moserial.desktop/org.gnome.moserial.Devel.desktop/'
/app/share/metainfo/org.gnome.moserial.Devel.appdata.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]