aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <somasis@exherbo.org>2016-02-25 01:00:36 -0500
committerKylie McClain <somasis@exherbo.org>2018-06-13 01:16:16 -0400
commit9a8145351c509b116bcd47e95f992afe8a6938ad (patch)
tree93389c86b7a1216ce5bf7de0fc6aa9e70b510cac
parentaee47068b8de94db9cf13551608710ab82c7ac26 (diff)
downloadsomasis-experimental-9a8145351c509b116bcd47e95f992afe8a6938ad.tar.gz
somasis-experimental-9a8145351c509b116bcd47e95f992afe8a6938ad.tar.xz
somasis-experimental-9a8145351c509b116bcd47e95f992afe8a6938ad.zip
beginning: only show TTY_PROVIDER warning if installing for first time
Change-Id: I3c14a6afef9db15904ba0b8691a24aef7005d433
-rw-r--r--packages/sys-apps/beginning/beginning-scm.exheres-06
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/sys-apps/beginning/beginning-scm.exheres-0 b/packages/sys-apps/beginning/beginning-scm.exheres-0
index eab4a46..d912ced 100644
--- a/packages/sys-apps/beginning/beginning-scm.exheres-0
+++ b/packages/sys-apps/beginning/beginning-scm.exheres-0
@@ -42,11 +42,7 @@ src_install() {
/usr/$(exhost --target)/bin/shutdown beginning.shutdown \
/usr/$(exhost --target)/bin/halt beginning.halt
-}
-
-pkg_postinst() {
- alternatives_pkg_postinst
- if has_version ${CATEGORY}/${PN};then
+ if ! has_version ${CATEGORY}/${PN};then
ewarn "Before rebooting, set TTY_PROVIDER in rc.conf or you will be unable" \
"to log in from consoles."
fi