From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:pending/mattst88 commit in: targets/support/
Date: Tue, 20 Oct 2020 08:30:28 +0000 (UTC) [thread overview]
Message-ID: <1603177803.c2b6d25fb883cdcc36e05d44507326d7ae53f560.mattst88@gentoo> (raw)
commit: c2b6d25fb883cdcc36e05d44507326d7ae53f560
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 22:47:34 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 07:10:03 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=c2b6d25f
targets: Move create_handbook_icon() to its use
And use <<- so we can indent the heredoc properly.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
targets/support/chroot-functions.sh | 14 --------------
targets/support/livecdfs-update.sh | 15 +++++++++++++++
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
index 307a9042..22340023 100755
--- a/targets/support/chroot-functions.sh
+++ b/targets/support/chroot-functions.sh
@@ -303,20 +303,6 @@ show_debug() {
fi
}
-create_handbook_icon() {
- # This function creates a local icon to the Gentoo Handbook
- echo "[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Type=Link
-URL=file:///mnt/cdrom/docs/handbook/html/index.html
-Terminal=false
-Name=Gentoo Linux Handbook
-GenericName=Gentoo Linux Handbook
-Comment=This is a link to the local copy of the Gentoo Linux Handbook.
-Icon=text-editor" > /usr/share/applications/gentoo-handbook.desktop
-}
-
readonly locales="
C.UTF8 UTF-8
"
diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
index 557d990b..47dbb5b3 100755
--- a/targets/support/livecdfs-update.sh
+++ b/targets/support/livecdfs-update.sh
@@ -243,6 +243,21 @@ case ${clst_livecd_type} in
# Clear out lastlog
rm -f /var/log/lastlog && touch /var/log/lastlog
+ create_handbook_icon() {
+ cat <<-EOF > /usr/share/applications/gentoo-handbook.desktop
+ [Desktop Entry]
+ Encoding=UTF-8
+ Version=1.0
+ Type=Link
+ URL=file:///mnt/cdrom/docs/handbook/html/index.html
+ Terminal=false
+ Name=Gentoo Linux Handbook
+ GenericName=Gentoo Linux Handbook
+ Comment=This is a link to the local copy of the Gentoo Linux Handbook.
+ Icon=text-editor
+ EOF
+ }
+
# Create our Handbook icon
[ -e /docs/handbook/index.html ] && create_handbook_icon
[ -n "${clst_livecd_overlay}" ] && [ -e ${clst_livecd_overlay}/docs/handbook/index.html ] && create_handbook_icon
WARNING: multiple messages have this Message-ID (diff)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/support/
Date: Thu, 29 Oct 2020 21:00:39 +0000 (UTC) [thread overview]
Message-ID: <1603177803.c2b6d25fb883cdcc36e05d44507326d7ae53f560.mattst88@gentoo> (raw)
Message-ID: <20201029210039.bQ24PKnWz6iPLuLgfyhlec_ZkysP_VU3QY2bWpl_n34@z> (raw)
commit: c2b6d25fb883cdcc36e05d44507326d7ae53f560
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 22:47:34 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 07:10:03 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=c2b6d25f
targets: Move create_handbook_icon() to its use
And use <<- so we can indent the heredoc properly.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
targets/support/chroot-functions.sh | 14 --------------
targets/support/livecdfs-update.sh | 15 +++++++++++++++
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
index 307a9042..22340023 100755
--- a/targets/support/chroot-functions.sh
+++ b/targets/support/chroot-functions.sh
@@ -303,20 +303,6 @@ show_debug() {
fi
}
-create_handbook_icon() {
- # This function creates a local icon to the Gentoo Handbook
- echo "[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Type=Link
-URL=file:///mnt/cdrom/docs/handbook/html/index.html
-Terminal=false
-Name=Gentoo Linux Handbook
-GenericName=Gentoo Linux Handbook
-Comment=This is a link to the local copy of the Gentoo Linux Handbook.
-Icon=text-editor" > /usr/share/applications/gentoo-handbook.desktop
-}
-
readonly locales="
C.UTF8 UTF-8
"
diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
index 557d990b..47dbb5b3 100755
--- a/targets/support/livecdfs-update.sh
+++ b/targets/support/livecdfs-update.sh
@@ -243,6 +243,21 @@ case ${clst_livecd_type} in
# Clear out lastlog
rm -f /var/log/lastlog && touch /var/log/lastlog
+ create_handbook_icon() {
+ cat <<-EOF > /usr/share/applications/gentoo-handbook.desktop
+ [Desktop Entry]
+ Encoding=UTF-8
+ Version=1.0
+ Type=Link
+ URL=file:///mnt/cdrom/docs/handbook/html/index.html
+ Terminal=false
+ Name=Gentoo Linux Handbook
+ GenericName=Gentoo Linux Handbook
+ Comment=This is a link to the local copy of the Gentoo Linux Handbook.
+ Icon=text-editor
+ EOF
+ }
+
# Create our Handbook icon
[ -e /docs/handbook/index.html ] && create_handbook_icon
[ -n "${clst_livecd_overlay}" ] && [ -e ${clst_livecd_overlay}/docs/handbook/index.html ] && create_handbook_icon
WARNING: multiple messages have this Message-ID (diff)
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Wed, 21 Oct 2020 17:58:48 +0000 (UTC) [thread overview]
Message-ID: <1603177803.c2b6d25fb883cdcc36e05d44507326d7ae53f560.mattst88@gentoo> (raw)
Message-ID: <20201021175848.Chr5kzO2gc2QS1YcbSPQakj-8o7VFlB15uIGui_uDII@z> (raw)
commit: c2b6d25fb883cdcc36e05d44507326d7ae53f560
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 22:47:34 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 07:10:03 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=c2b6d25f
targets: Move create_handbook_icon() to its use
And use <<- so we can indent the heredoc properly.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
targets/support/chroot-functions.sh | 14 --------------
targets/support/livecdfs-update.sh | 15 +++++++++++++++
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
index 307a9042..22340023 100755
--- a/targets/support/chroot-functions.sh
+++ b/targets/support/chroot-functions.sh
@@ -303,20 +303,6 @@ show_debug() {
fi
}
-create_handbook_icon() {
- # This function creates a local icon to the Gentoo Handbook
- echo "[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Type=Link
-URL=file:///mnt/cdrom/docs/handbook/html/index.html
-Terminal=false
-Name=Gentoo Linux Handbook
-GenericName=Gentoo Linux Handbook
-Comment=This is a link to the local copy of the Gentoo Linux Handbook.
-Icon=text-editor" > /usr/share/applications/gentoo-handbook.desktop
-}
-
readonly locales="
C.UTF8 UTF-8
"
diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
index 557d990b..47dbb5b3 100755
--- a/targets/support/livecdfs-update.sh
+++ b/targets/support/livecdfs-update.sh
@@ -243,6 +243,21 @@ case ${clst_livecd_type} in
# Clear out lastlog
rm -f /var/log/lastlog && touch /var/log/lastlog
+ create_handbook_icon() {
+ cat <<-EOF > /usr/share/applications/gentoo-handbook.desktop
+ [Desktop Entry]
+ Encoding=UTF-8
+ Version=1.0
+ Type=Link
+ URL=file:///mnt/cdrom/docs/handbook/html/index.html
+ Terminal=false
+ Name=Gentoo Linux Handbook
+ GenericName=Gentoo Linux Handbook
+ Comment=This is a link to the local copy of the Gentoo Linux Handbook.
+ Icon=text-editor
+ EOF
+ }
+
# Create our Handbook icon
[ -e /docs/handbook/index.html ] && create_handbook_icon
[ -n "${clst_livecd_overlay}" ] && [ -e ${clst_livecd_overlay}/docs/handbook/index.html ] && create_handbook_icon
next reply other threads:[~2020-10-20 8:30 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-20 8:30 Matt Turner [this message]
2020-10-21 17:58 ` [gentoo-commits] proj/catalyst:master commit in: targets/support/ Matt Turner
2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
-- strict thread matches above, loose matches on Subject: below --
2020-12-19 19:56 Matt Turner
2021-01-18 19:53 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-28 20:51 Matt Turner
2020-10-28 20:51 Matt Turner
2020-10-22 18:06 Matt Turner
2020-10-22 18:06 Matt Turner
2020-10-22 18:06 Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 19:59 Matt Turner
2020-10-20 19:59 Matt Turner
2020-10-20 19:59 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-05-21 20:25 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-05-20 3:39 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-05-20 3:39 Matt Turner
2020-05-17 3:26 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-05-16 6:54 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-05-16 6:54 Matt Turner
2020-05-03 22:58 Matt Turner
2020-05-03 22:58 Matt Turner
2020-05-03 22:58 Matt Turner
2020-05-03 22:04 Matt Turner
2020-05-03 22:04 Matt Turner
2020-05-03 22:04 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1603177803.c2b6d25fb883cdcc36e05d44507326d7ae53f560.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox