tazpkg rev 714
install_package: create installed.info before sed it. pkgs.cgi: works only with $LOCALSTATE not $PKGS_DB
(This $LOCALSTATE declared in tazpanel.conf
slitaz.conf is not in use here)
(This $LOCALSTATE declared in tazpanel.conf
slitaz.conf is not in use here)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Dec 16 13:53:49 2014 +0000 (2014-12-16) |
parents | 8e52f1e7263c |
children | e01bf3375d9e |
files | tazpanel/pkgs.cgi tazpkg |
line diff
1.1 --- a/tazpanel/pkgs.cgi Mon Dec 15 04:43:04 2014 +0200 1.2 +++ b/tazpanel/pkgs.cgi Tue Dec 16 13:53:49 2014 +0000 1.3 @@ -20,7 +20,7 @@ 1.4 xhtml_header | sed 's/id="content"/id="content-sidebar"/' 1.5 1.6 export TEXTDOMAIN='tazpkg' 1.7 - 1.8 +PKGS_DB="$LOCALSTATE" 1.9 1.10 pkg_info_link() 1.11 {
2.1 --- a/tazpkg Mon Dec 15 04:43:04 2014 +0200 2.2 +++ b/tazpkg Tue Dec 16 13:53:49 2014 +0000 2.3 @@ -855,6 +855,7 @@ 2.4 fi 2.5 2.6 # Update installed.info 2.7 + check_for_installed_info 2.8 SIZES=$(echo $PACKED_SIZE $UNPACKED_SIZE | sed 's|\.0||g') 2.9 DEPENDS=$(echo $DEPENDS) # remove newlines from some receipts 2.10 II=$PKGS_DB/installed.info