Fixed part that cleans up files from a replaced package
This commit is contained in:
4
Makefile
4
Makefile
@@ -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-*
|
||||||
|
|||||||
@@ -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;
|
||||||
Reference in New Issue
Block a user