summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/kmscon')
-rw-r--r--sys-apps/kmscon/kmscon-8-r1.ebuild8
-rw-r--r--sys-apps/kmscon/kmscon-8_p20180906.ebuild8
2 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/kmscon/kmscon-8-r1.ebuild b/sys-apps/kmscon/kmscon-8-r1.ebuild
index 31ab17695d0..831393bd22a 100644
--- a/sys-apps/kmscon/kmscon-8-r1.ebuild
+++ b/sys-apps/kmscon/kmscon-8-r1.ebuild
@@ -135,3 +135,11 @@ src_install() {
emake DESTDIR="${D}" install
systemd_dounit "${S}/docs"/kmscon{,vt@}.service
}
+
+pkg_postinst() {
+ grep -e "^ERASECHAR" "${EROOT}"/etc/login.defs && \
+ ewarn "It is recommended that you comment out the ERASECHAR line in" && \
+ ewarn " /etc/login.defs for proper backspace functionality at the" && \
+ ewarn " kmscon login prompt. For details see:" && \
+ ewarn "https://github.com/dvdhrm/kmscon/issues/69#issuecomment-13827797"
+}
diff --git a/sys-apps/kmscon/kmscon-8_p20180906.ebuild b/sys-apps/kmscon/kmscon-8_p20180906.ebuild
index ad7c9809336..c24fedc3f96 100644
--- a/sys-apps/kmscon/kmscon-8_p20180906.ebuild
+++ b/sys-apps/kmscon/kmscon-8_p20180906.ebuild
@@ -133,3 +133,11 @@ src_install() {
emake DESTDIR="${D}" install
systemd_dounit "${S}/docs"/kmscon{,vt@}.service
}
+
+pkg_postinst() {
+ grep -e "^ERASECHAR" "${EROOT}"/etc/login.defs && \
+ ewarn "It is recommended that you comment out the ERASECHAR line in" && \
+ ewarn " /etc/login.defs for proper backspace functionality at the" && \
+ ewarn " kmscon login prompt. For details see:" && \
+ ewarn "https://github.com/dvdhrm/kmscon/issues/69#issuecomment-13827797"
+}