[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasmate/terietor/remoteinstallerV2] publisher/remoteinstaller: Fix the source of remoteinstaller
From: Giorgos Tsiapaliwkas <terietor () gmail ! com>
Date: 2012-07-11 18:30:24
Message-ID: 20120711183024.A44E4A60A6 () git ! kde ! org
[Download RAW message or body]
Git commit ba72501542bd9055187ab82bacf1cf022534a8a7 by Giorgos Tsiapaliwkas.
Committed on 11/07/2012 at 20:29.
Pushed by tsiapaliwkas into branch 'terietor/remoteinstallerV2'.
Fix the source of remoteinstaller
M +2 -6 publisher/remoteinstaller/remoteinstaller.cpp
http://commits.kde.org/plasmate/ba72501542bd9055187ab82bacf1cf022534a8a7
diff --git a/publisher/remoteinstaller/remoteinstaller.cpp \
b/publisher/remoteinstaller/remoteinstaller.cpp index 2f089ec..1d1c732 100644
--- a/publisher/remoteinstaller/remoteinstaller.cpp
+++ b/publisher/remoteinstaller/remoteinstaller.cpp
@@ -46,12 +46,8 @@ RemoteInstaller::RemoteInstaller(const QString& username, const \
QString& hostnam m_destinationPath = m_execUrl;
m_destinationPath.setPath(temporaryDirectory);
- //we need the name of the package and the directory
- QDir packageDir(source);
- //NOTE our path isn't a directory it is a metadata.desktop,
- //that's plasmate's way to validate packages
- packageDir.cdUp();
- m_sourcePath = packageDir.path();
+ //we need our source path
+ m_sourcePath = source;
m_plasmaPkgUrl.append("plasmapkg -u " + temporaryDirectory + \
packageDir.dirName() + '/');
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic