summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2018-02-02 03:04:03 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2018-02-02 03:12:27 +0100
commit89d0dc1147f5eaa799b0cd1a587ecafbaa5ffbf2 (patch)
tree237601780aeabd9540f5561cf5b1a7e2bf4c913e /app-admin/restart-services
parentapp-admin/restart_services: moved, bumped (diff)
downloadgentoo-89d0dc1147f5eaa799b0cd1a587ecafbaa5ffbf2.tar.gz
gentoo-89d0dc1147f5eaa799b0cd1a587ecafbaa5ffbf2.tar.bz2
gentoo-89d0dc1147f5eaa799b0cd1a587ecafbaa5ffbf2.zip
app-admin/restart-services: fix eerror messages
Package-Manager: Portage-2.3.19, Repoman-2.3.6 Manifest-Sign-Key: 0xCA3E7BF67F979BE5
Diffstat (limited to 'app-admin/restart-services')
-rw-r--r--app-admin/restart-services/restart-services-0.14.0.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-admin/restart-services/restart-services-0.14.0.ebuild b/app-admin/restart-services/restart-services-0.14.0.ebuild
index 3f78f2850aa..507423cab5d 100644
--- a/app-admin/restart-services/restart-services-0.14.0.ebuild
+++ b/app-admin/restart-services/restart-services-0.14.0.ebuild
@@ -50,12 +50,12 @@ pkg_postinst() {
if [[ $MAJOR -eq 0 && $MINOR -lt 14 ]]; then
einfo "Migrating config"
if [[ -e /etc/restart-services.d ]]; then
- error "/etc/restart-services.d alrayd exists?!"
- die
+ ewarn "/etc/restart-services.d already exists?!"
+ return
fi
if [[ -e /etc/restart-services.conf ]]; then
- error "/etc/restart-services.conf alrayd exists?!"
- die
+ ewarn "/etc/restart-services.conf already exists?!"
+ return
fi
if [[ -f /etc/restart_services.d/00-local.conf ]]; then