tazpkg view modules/reconfigure @ rev 845
install: rebuild fs/ tree respecting destination symlinks before installing files and folders to filesystem
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 06 15:46:41 2015 +0300 (2015-10-06) |
parents | |
children | 8a73a58ed3cb |
line source
1 #!/bin/sh
2 # TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
3 # reconfigure - TazPkg module
4 # Replay post_install from receipt
7 # Connect function libraries
8 . /lib/libtaz.sh
10 # Get TazPkg working environment
11 . @@MODULES@@/getenv
16 PACKAGE="$1"
18 # Check for post_install
19 if grep -q ^post_install "$INSTALLED/$PACKAGE/receipt"; then
20 . "$INSTALLED/$PACKAGE/receipt"
21 post_install "$root"
22 # Log this activity
23 tazpkg call log_pkg Reconfigured
24 else
25 newline
26 _ 'Nothing to do for package "%s".' "$PACKAGE"
27 fi