diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2020-06-07 23:23:44 +0200 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2020-06-07 23:23:44 +0200 |
commit | 60239857d7c4dcdfd1896bdd3d032f5acd14be77 (patch) | |
tree | d9b91c66772f8afefb86db788f91e2a123ce36eb /app-admin/restart-services | |
parent | app-admin/restart-services: bump version (diff) | |
download | gentoo-60239857d7c4dcdfd1896bdd3d032f5acd14be77.tar.gz gentoo-60239857d7c4dcdfd1896bdd3d032f5acd14be77.tar.bz2 gentoo-60239857d7c4dcdfd1896bdd3d032f5acd14be77.zip |
app-admin/restart-services: drop old version
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-admin/restart-services')
-rw-r--r-- | app-admin/restart-services/Manifest | 1 | ||||
-rw-r--r-- | app-admin/restart-services/restart-services-0.14.4.ebuild | 62 |
2 files changed, 0 insertions, 63 deletions
diff --git a/app-admin/restart-services/Manifest b/app-admin/restart-services/Manifest index 32a8c0dc1c66..40db7abc2790 100644 --- a/app-admin/restart-services/Manifest +++ b/app-admin/restart-services/Manifest @@ -1,3 +1,2 @@ DIST restart-services-0.14.1.tgz 20909 BLAKE2B 2f6b74fc6094be83e1872d2a6ca7abb02a49b5db65d81cd37f8161bac148e5fe0614502f1f06356ff9cd6c6ba03c416dae1eec3a86f48dc011bc6e28c1b076e3 SHA512 3434c4b6cdf9d02b035eba2cc67cebe8e06a2cf31c2d8627063b84224dcb6d44e276e1fcb82221ad77ab7ee7e16fa7ee58fb94b7849d40e6786d3fcfb6087866 -DIST restart-services-0.14.4.tgz 21781 BLAKE2B 0d23ef098a3f15fdae23c9964f892e7095b04042dfed4c9da4d35fde8454d3f1fe5606c6e3e0141cb9e8d869f86df6b495ae985a0cf23d53a3a6d8eaa8964969 SHA512 89bd5edf5175694b3438788759f9b747251431ba700ad199f43b8fa551faa23411f33688e1aa6b04ae6524e737c4073926b989fa1422ddfca94514f9afd8de66 DIST restart-services-0.15.2.tgz 23688 BLAKE2B e043b872d55109ad176a6437006cf581a993e72e460bb034625ed612f9ceca85ef91a20e90f23bcecc964caa527cfa4bc39d97c52487b7bf92eec21dc2e35c48 SHA512 afe7c96aabf61d664460d5d68447df09b3d9a54098887727db796821220f5ddd5a3b5030d995d5a6c3128e4a2b8494b9a0a3b86b5c805d56c0e201058ad04327 diff --git a/app-admin/restart-services/restart-services-0.14.4.ebuild b/app-admin/restart-services/restart-services-0.14.4.ebuild deleted file mode 100644 index 1e1571773610..000000000000 --- a/app-admin/restart-services/restart-services-0.14.4.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Tool to manage OpenRC services that need to be restarted" -HOMEPAGE="https://dev.gentoo.org/~mschiff/restart-services/" -SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - app-admin/lib_users - sys-apps/openrc -" - -src_install() { - dosbin restart-services - doman restart-services.1 - keepdir /etc/restart-services.d - insinto /etc - doins restart-services.conf - dodoc README CHANGES - - sed -i 's/^#include/include/' "${D}"/etc/restart-services.conf - cat>"${D}"/etc/restart-services.d/00-local.conf<<-EOF - # You may put your local changes here or in any other *.conf file - # in this directory so you can leave /etc/restart-services.conf as is. - # Example: - # *extend* SV_ALWAYS to match 'myservice' - # SV_ALWAYS+=( myservice ) - EOF -} - -pkg_postinst() { - local MAJOR MINOR - # migrate config data for versions < 0.13.2 - if [[ $REPLACING_VERSIONS ]]; then - MAJOR=${REPLACING_VERSIONS%%.*} - MINOR=${REPLACING_VERSIONS%.*} - MINOR=${MINOR#*.} - - if [[ $MAJOR -eq 0 && $MINOR -lt 14 ]]; then - einfo "Checking for old config" - if [[ -f /etc/restart_services.conf ]]; then - ewarn "Old config file found: /etc/restart_services.conf" - ewarn "It will be ignored so please migrate settings to a file in" - ewarn "/etc/restart-services.d/ and/or remove /etc/restart_services.conf" - fi - if [[ -d /etc/restart_services.d ]]; then - ewarn "Old config directory found: /etc/restart_services.d" - ewarn "It will be ignored so please migrate files to /etc/restart-services.d" - ewarn "and/or remove /etc/restart_services.d" - fi - einfo "done" - fi - fi -} |