diff options
author | Andrea Postiglione <andrea.postiglione@gmail.com> | 2022-02-02 09:43:08 +0100 |
---|---|---|
committer | Andrea Postiglione <andrea.postiglione@gmail.com> | 2022-02-02 09:43:08 +0100 |
commit | a17553b5e415ee745e117a012305493fbd242441 (patch) | |
tree | d54a02840b08f4b393f862b05ef458c639815bc7 | |
parent | CONTRIBUTING.md: few words about PEP517 mode (diff) | |
download | guru-a17553b5.tar.gz guru-a17553b5.tar.bz2 guru-a17553b5.zip |
app-admin/customrescuecd-x86_64-0.12.4: version bump
Signed-off-by: Andrea Postiglione <andrea.postiglione@gmail.com>
-rw-r--r-- | app-admin/customrescuecd-x86_64/Manifest | 3 | ||||
-rw-r--r-- | app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.3.ebuild | 55 | ||||
-rw-r--r-- | app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.ebuild (renamed from app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.2.ebuild) | 0 |
3 files changed, 1 insertions, 57 deletions
diff --git a/app-admin/customrescuecd-x86_64/Manifest b/app-admin/customrescuecd-x86_64/Manifest index e6ffc7dcca..69fcb1f6d6 100644 --- a/app-admin/customrescuecd-x86_64/Manifest +++ b/app-admin/customrescuecd-x86_64/Manifest @@ -1,2 +1 @@ -DIST CUSTOMRESCUECD-x86_64-0.12.2.iso 1516290048 BLAKE2B c9d2b857948c09a16b86bb9ccb7373f1908f52f97ed21c64ef422e6d7c3501278fd7871b34c035a70554b494926325d1be2978df729ffd93cb7f3bee6b0c5adc SHA512 f215116878557ada9d321ba018970723a1e3905cbebf12aac5e1e65e97c9180f852fcfff5c2133c28e97bb3d1eb8fb80ca26bbf307de8b202fa39eb02a474abd -DIST CUSTOMRESCUECD-x86_64-0.12.3.iso 1531445248 BLAKE2B a4873c26660cebb9f12b70df9aba0fef8dc64d2e15184f8054d252c3f893c967dcbc00b6b5cc154e726379c6a8cf6d024e432eba41de35a5488715f9a1ddb877 SHA512 fa2d535918f1bc321f65ae111b806c91aa34e09d32907fc1c12ee186b2ed4e96494d0c555101fe3d969f3364b95bae5496ff8a2ed6b350f6321b8f084cac6192 +DIST CUSTOMRESCUECD-x86_64-0.12.4.iso 1581383680 BLAKE2B cdf282a5d95a3aad7b178234eafd82d6b76969716b9b9f6b6c5c52b4c53e993db684b8f258502640fcb7b1fe6347c6de395d21dab954507cbe361c5bc953b705 SHA512 b12698432bc99ef1ddea8129512b45fe48debf0e3b47f15327f0a38e80dd54e5b7fa88489858ab7cd8fc4b3b14db3dd1f383a876950fcc6f6a3bee19293b8265 diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.3.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.3.ebuild deleted file mode 100644 index d57a8059dc..0000000000 --- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="CUSTOMRESCUECD-x86_64" -DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo" -HOMEPAGE="https://sourceforge.net/projects/customrescuecd" -SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso" - -LICENSE="GPL-3" -SLOT="${PV}" -KEYWORDS="~amd64" -RESTRICT="bindist mirror" - -S=${WORKDIR} - -src_unpack() { :; } - -src_install() { - insinto "/usr/share/${PN%-*}" - doins "${DISTDIR}/${MY_P}-${PV}.iso" -} - -pkg_postinst() { - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso - - # no version newer than ours? we're the newest! - if ! has_version ">${CATEGORY}/${PF}"; then - ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die - fi -} - -pkg_postrm() { - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso - - # if there is no version newer than ours installed - if ! has_version ">${CATEGORY}/${PF}"; then - # and we are truly and completely uninstalled... - if [[ ! ${REPLACED_BY_VERSION} ]]; then - # then find an older version to set the symlink to - local newest_version=$(best_version "<${CATEGORY}/${PF}") - - if [[ ${newest_version} ]]; then - # update the symlink - ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die - else - # last version removed? clean up the symlink - rm -v "${f}" || die - # and the parent directory - rmdir "${f%/*}" || die - fi - fi - fi -} diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.2.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.ebuild index d57a8059dc..d57a8059dc 100644 --- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.2.ebuild +++ b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.ebuild |