Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37728032
en ru br
ALT Linux repos
S:0.8.4.0-alt4

Group :: Archiving/Backup
RPM: qt-fsarchiver

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: qt5-fsarchiver-sudo-0.6.19-21.patch
Download


diff -uNrBbwp qt5-fsarchiver/src/clone.cpp qt5-fsarchiver-new/src/clone.cpp
--- qt5-fsarchiver/src/clone.cpp	2016-09-22 06:22:46.918196384 +0000
+++ qt5-fsarchiver-new/src/clone.cpp	2016-09-22 06:23:29.266190889 +0000
@@ -267,7 +267,7 @@ Qt::CheckState state;
 	partition_name  = partition_exist.right(partition_exist.size() -4);
 //Prüfen ob img.fsa oder gz.fsa Datei
         if (folder_clone.indexOf("-gz.part.fsa") > -1)
-        	befehl = "gunzip -c " + folder_clone + " | sudo dd of=/dev/" + img_partition_clone; 
+        	befehl = "gunzip -c " + folder_clone + " | dd of=/dev/" + img_partition_clone; 
         if (folder_clone.indexOf("-part.fsa") > -1)
                 befehl = "dd if=" + folder_clone +  " of=/dev/" +  img_partition_clone + " bs=1M 2>" + homepath + "/.config/qt5-fsarchiver/disk.txt";
             int ret = questionMessage(tr(" Do you want really restore an image of a partition? ", " Wollen Sie wirklich ein Abbild einer Partition zurückschreiben? ") );  
@@ -474,7 +474,7 @@ QString disk_name;
 	partition_name  = partition_exist.right(partition_exist.size() -4);
 //Prüfen ob img.fsa oder gz.fsa Datei
         if (folder_clone.indexOf("gz.fsa") > 0)
-        	befehl = "gunzip -c " + folder_clone + " | sudo dd of=" + partition_exist; 
+        	befehl = "gunzip -c " + folder_clone + " | dd of=" + partition_exist; 
         if (folder_clone.indexOf("img.fsa") > 0)
                 befehl = "dd if=" + folder_clone +  " of=" + partition_exist + " bs=1M 2>" + homepath + "/.config/qt5-fsarchiver/disk.txt"; 
             int ret = questionMessage(tr(" Do you want really restore the image of the hard drive? ", " Wollen Sie wirklich ein Abbild der Festplatte zurückschreiben? ") );  
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin