Browse files

Remove the *.desktop exclusion from the new LP. Kris reminded me that…

… people might have customized *.desktop files that they want to keep, and it is better to have the user remove dead files afterward rather than lose important files.
  • Loading branch information...
1 parent a2f5069 commit b15a1b6ce1af2588b17e8d69721c679c9a90c28b Ken Moore committed Oct 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/life-preserver/lp-gui/LPGUtils.cpp
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*" << "*.desktop"; //Don't overwrite the flash plugin
+ excludes << "*flashplayer*"; //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 b15a1b6

Please sign in to comment.