diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-25 04:49:27 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-25 04:49:27 -0300 |
commit | 23b7cd474a0142436a18bf038d3de6c7a0912a62 (patch) | |
tree | f9ff1f4390a4384812bdc9fc3add243516e15c64 /libre/filesystem-parabola/filesystem.install | |
parent | 722bab10175c620370a0fd4380c28c0d8742d258 (diff) | |
parent | 82c9bb005723b14973b5b41fe788aeb3df1692ba (diff) |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/filesystem-parabola/filesystem.install')
-rw-r--r-- | libre/filesystem-parabola/filesystem.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/filesystem-parabola/filesystem.install b/libre/filesystem-parabola/filesystem.install index 065a79d6c..d70906f47 100644 --- a/libre/filesystem-parabola/filesystem.install +++ b/libre/filesystem-parabola/filesystem.install @@ -12,6 +12,17 @@ _adduser() { fi } +post_install() { + _backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc/passwd' + 'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' 'etc/nsswitch.conf' + 'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue') + for _bk in ${_backup[@]}; do + if [ -f ${_bk}.pacsave ]; then + cp -av ${_bk}{.pacsave,} + fi + done +} + post_upgrade() { _addgroup optical -g 93 _addgroup audio -g 92 |