diff --git a/config/rootfiles/core/1/files b/config/rootfiles/core/1/files index 019824f47..74e20ec9c 100644 --- a/config/rootfiles/core/1/files +++ b/config/rootfiles/core/1/files @@ -1,3 +1,4 @@ var/ipfire/langs srv/web/ipfire/cgi-bin/qos.cgi +srv/web/ipfire/cgi-bin/pakfire.cgi opt/pakfire/lib/functions.sh diff --git a/html/cgi-bin/pakfire.cgi b/html/cgi-bin/pakfire.cgi index 28786fa78..dd42375cf 100644 --- a/html/cgi-bin/pakfire.cgi +++ b/html/cgi-bin/pakfire.cgi @@ -65,9 +65,10 @@ if ($pakfiresettings{'ACTION'} eq 'install'){ my @output = `/usr/local/bin/pakfire resolvedeps --no-colors $pakfiresettings{'INSPAKS'}`; print <$Lang::tr{'pakfire install package'}.$pakfiresettings{'INSPAKS'}.$Lang::tr{'pakfire possible dependency'} -
		
+		
 END
 		foreach (@output) {
+		  $_ =~ s/\\[[0-1]\;[0-9]+m//g;
 			print "$_\n";
 		}
 		print <$Lang::tr{'pakfire uninstall package'}.$pakfiresettings{'DELPAKS'}.$Lang::tr{'pakfire possible dependency'}
-		
		
+		
 END
 		foreach (@output) {
+		  $_ =~ s/\\[[0-1]\;[0-9]+m//g;
 			print "$_\n";
 		}
 		print </dev/null");
 
 } elsif ($pakfiresettings{'ACTION'} eq 'upgrade') {
-	
+
 	system("/usr/local/bin/pakfire upgrade -y --no-colors &>/dev/null");
-	
+
 } elsif ($pakfiresettings{'ACTION'} eq "$Lang::tr{'save'}") {
 
 	if ($pakfiresettings{'AUTOUPDATE'} == "on") {
@@ -147,7 +149,7 @@ END
 	} else {
 		system("/usr/local/bin/pakfire disable updates  >/dev/null 2>&1");
 	}
-	
+
 	if ($pakfiresettings{'AUTOUPGRADE'} == "on") {
 		system("/usr/local/bin/pakfire enable upgrades >/dev/null 2>&1");
 	} else {
@@ -242,17 +244,17 @@ END
 					
 					
 				 
-		
+
 		 
 		$Lang::tr{'pakfire available addons'}
 				$Lang::tr{'pakfire installed addons'}
 		
 			

$Lang::tr{'pakfire install description'}

-
+