aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-08-09 16:09:39 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-08-09 16:09:39 -0400
commit6e34c9aee6561d4ba1eeab51cbeceed4a37d701f (patch)
tree69346b605523bfe373abfcefd2afbcf16622f5c4
parentbin/grsup: WorldConf.install() now does a cleanup automatically. (diff)
downloadgrss-6e34c9aee6561d4ba1eeab51cbeceed4a37d701f.tar.gz
grss-6e34c9aee6561d4ba1eeab51cbeceed4a37d701f.tar.bz2
grss-6e34c9aee6561d4ba1eeab51cbeceed4a37d701f.zip
bin/grsup: fix typo.
-rwxr-xr-xbin/grsup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/grsup b/bin/grsup
index 5f03131..74670cd 100755
--- a/bin/grsup
+++ b/bin/grsup
@@ -233,7 +233,7 @@ def main():
if os.path.isfile(oldmakeconf):
if not filecmp.cmp(newmakeconf, oldmakeconf):
print('New make.conf differs from local version. Backing up as make.conf.old')
- shutil(oldmakeconf, '%s.old' % oldmakeconf)
+ shutil.copy(oldmakeconf, '%s.old' % oldmakeconf)
shutil.copy(newmakeconf, oldmakeconf)
# 1. Install all world.conf files.