Permalink
Browse files

Add *.desktop files to the exclude list for classic home dir backups

  • Loading branch information...
1 parent 1fad2e5 commit a2f50697888102fa201339a1202587dd1c18e54b Ken Moore committed Oct 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/life-preserver/lp-gui/LPGUtils.cpp
View
2 src-qt4/life-preserver/lp-gui/LPGUtils.cpp
@@ -200,7 +200,7 @@ QString LPGUtils::packageHomeDir(QString username, QString packageName){
QString cmd = "tar -czf /usr/home/"+packageName+" -C /usr/home "+username;
//Create the exclude list and skip these files
QStringList excludes;
- excludes << "*flashplayer*"; //Don't overwrite the flash plugin
+ excludes << "*flashplayer*" << "*.desktop"; //Don't overwrite the flash plugin
for(int i=0; i<excludes.length(); i++){
cmd.replace("-czf /usr/home", " --exclude \'"+excludes[i]+"\' -czf /usr/home");
}

0 comments on commit a2f5069

Please sign in to comment.