Fixed part that cleans up files from a replaced package

This commit is contained in:
2016-10-31 13:53:18 -05:00
parent db84b56b51
commit 388430ed37
9 changed files with 4 additions and 5 deletions

View File

@@ -8,11 +8,11 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
DEPENDS = bash,binutils,coreutils,gzip,initscripts,perl,shadow,sysvinit,tar DEPENDS = bash,binutils,coreutils,gzip,iana-etc,iproute2,inetutils,initscripts,perl,shadow,sysvinit,tar
ARCH = x86_64 ARCH = x86_64
URL = URL =
DESC = This is the base of the snaplinux system DESC = This is the base of the snaplinux system
SNAPVER = sr1 SNAPVER = sr0
ARCHIVE := '' ARCHIVE := ''
SRCDIR := $(PWD)/SRC/snap-* SRCDIR := $(PWD)/SRC/snap-*

View File

@@ -540,8 +540,7 @@ sub install {
if ( $file ){ if ( $file ){
$filenum++; $filenum++;
# print STDOUT "\e[?16;0;200c\033[K"
# . "$file\r";
print STDOUT "\e[K$file\r"; print STDOUT "\e[K$file\r";
} }
@@ -584,7 +583,7 @@ sub install {
############################################ ############################################
if ( -f "$manifest.tmp" ){ if ( -f "$manifest.tmp" ){
my $listdata = list( $package ); my $listdata = list( $pkgfile );
open( TMPMANIFEST, "<$manifest.tmp" ) || do{ open( TMPMANIFEST, "<$manifest.tmp" ) || do{
$result{'status'} = 1; $result{'status'} = 1;