Skip to content

Commit

Permalink
filesystem: Remove /etc/bash.bash_logout (#5221)
Browse files Browse the repository at this point in the history
* filesystem: Remove /etc/bash.bash_logout

By adding `Hold=always` in ~/.minttyrc, it is possible to keep MinTTY open
after all processes in it have terminated, which is useful for examination
of outputs. However this script used to clear the screen, leaving a blank
window, and causing confusion.

Another reason for removing this script is that it's not found on fresh
installation of Debian or Ubuntu.

Reference: https://superuser.com/questions/1262655/mintty-how-to-keep-my-output-visible-after-processes-terminate/1263001#1263001
Signed-off-by: LIU Hao <[email protected]>

* Update PKGBUILD

---------

Signed-off-by: LIU Hao <[email protected]>
Co-authored-by: Christoph Reiter <[email protected]>
  • Loading branch information
lhmouse and lazka authored Feb 23, 2025
1 parent 2eae5c4 commit 71d2474
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 28 deletions.
15 changes: 5 additions & 10 deletions filesystem/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Contributor: Alethea Rose <[email protected]>

pkgname=filesystem
pkgver=2024.12.18
pkgver=2025.02.23
pkgrel=1
pkgdesc='Base filesystem'
arch=('i686' 'x86_64')
Expand All @@ -16,12 +16,10 @@ msys2_references=(
'internal'
)
backup=('etc/fstab' 'etc/shells' 'etc/profile'
etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout}
etc/bash.bashrc etc/skel/.bash{rc,_profile}
etc/nsswitch.conf)
source=('bash.bash_logout'
'bash.bashrc'
source=('bash.bashrc'
'cmd'
'dot.bash_logout'
'dot.bash_profile'
'dot.bashrc'
'dot.profile'
Expand Down Expand Up @@ -51,10 +49,8 @@ source=('bash.bash_logout'
'main-config.site'
'redirect-config.site'
'os-release')
sha256sums=('742a7d66b7a5ebd2b8461728c5b44a46b2305fd2116208eecae5f45828938ea0'
'36d4affa25606c87e70c42a5fe2294aa7898fb54f93a27910fb55224f4d6588a'
sha256sums=('36d4affa25606c87e70c42a5fe2294aa7898fb54f93a27910fb55224f4d6588a'
'99eae6e37081edd73b399009c85f4a67a0c14481241ee4937ab45c4178b540fb'
'4330edf340394d0dae50afb04ac2a621f106fe67fb634ec81c4bfb98be2a1eb5'
'00501046c301c5cb627b147e461217cda015aa109f673a9c1a67602891a26e88'
'92b1d9ec2d3032fcfc6a54f09b944dfb02ca7be74763157fe54b24b7d6d5f730'
'0e3f00cb2cc7778a1fb5440fc979cfeeafeca72c3059dd474f38ed6b99b46070'
Expand Down Expand Up @@ -103,7 +99,7 @@ package() {
# setup /etc
#
install -d etc/{fstab.d,skel,profile.d,post-install}
for f in bash.bashrc bash.bash_logout fstab shells profile nsswitch.conf msystem os-release; do
for f in bash.bashrc fstab shells profile nsswitch.conf msystem os-release; do
install -m644 ${srcdir}/${f} etc/
done

Expand All @@ -115,7 +111,6 @@ package() {
#
install -m644 ${srcdir}/dot.bashrc etc/skel/.bashrc
install -m644 ${srcdir}/dot.bash_profile etc/skel/.bash_profile
install -m644 ${srcdir}/dot.bash_logout etc/skel/.bash_logout
install -m644 ${srcdir}/dot.profile etc/skel/.profile

install -m644 ${srcdir}/profile.tzset.sh etc/profile.d/tzset.sh
Expand Down
15 changes: 0 additions & 15 deletions filesystem/bash.bash_logout

This file was deleted.

3 changes: 0 additions & 3 deletions filesystem/dot.bash_logout

This file was deleted.

0 comments on commit 71d2474

Please sign in to comment.