2 Commits

Author SHA1 Message Date
3d5d662152 bug fix release 2017-10-06 17:19:48 -03:00
3d9766667a fix #331 2017-10-06 17:12:39 -03:00
2 changed files with 2 additions and 3 deletions

View File

@@ -140,9 +140,8 @@ class AlpmConfig {
if (tmp_db) { if (tmp_db) {
string tmp_dbpath = "/tmp/pamac-checkdbs"; string tmp_dbpath = "/tmp/pamac-checkdbs";
try { try {
Process.spawn_command_line_sync ("mkdir -p %s".printf (tmp_dbpath)); Process.spawn_command_line_sync ("mkdir -p %s/sync".printf (tmp_dbpath));
Process.spawn_command_line_sync ("ln -sf %s/local %s".printf (dbpath, tmp_dbpath)); Process.spawn_command_line_sync ("ln -sf %s/local %s".printf (dbpath, tmp_dbpath));
Process.spawn_command_line_sync ("cp -au %s/sync %s".printf (dbpath, tmp_dbpath));
Process.spawn_command_line_sync ("chmod -R 777 %s/sync".printf (tmp_dbpath)); Process.spawn_command_line_sync ("chmod -R 777 %s/sync".printf (tmp_dbpath));
handle = new Alpm.Handle (rootdir, tmp_dbpath, out error); handle = new Alpm.Handle (rootdir, tmp_dbpath, out error);
} catch (SpawnError e) { } catch (SpawnError e) {

View File

@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
const string VERSION = "5.2.0"; const string VERSION = "5.2.1";
namespace Pamac { namespace Pamac {