Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37564411
en ru br
Репозитории ALT

Группа :: Архивирование/Резервное копирование
Пакет: qt-fsarchiver

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: qt5-fsarchiver-sudo-0.6.19-21.patch
Скачать


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? ") );  
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin