From 937bf24bacdd29629b5efd2c949c0a6e4d17b163 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Mon, 7 Feb 2011 17:38:33 -0600 Subject: Making hardlinks instead of symbolic --- pato2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pato2.py') diff --git a/pato2.py b/pato2.py index 3ed57b2..cd08ca0 100644 --- a/pato2.py +++ b/pato2.py @@ -24,7 +24,7 @@ """ -from repo_maintainer.config import * +from repm.config import * import tarfile, commands from glob import glob @@ -136,7 +136,7 @@ def remove_from_blacklist(repo_,arch_,info_,blacklist_): def link(repo_,arch_,file_): """ Makes a link in the repo for the package """ - cmd_="ln -sf " + file_ + " " + repodir + "/" + repo_ + "/os/" + arch_ + cmd_="ln -f " + file_ + " " + repodir + "/" + repo_ + "/os/" + arch_ a=commands.getoutput(cmd_) if verbose: printf(cmd_ + a) -- cgit v1.2.3-54-g00ecf