summaryrefslogtreecommitdiff
path: root/shells/autojump/patches/patch-install.py
blob: 4ed643d75f993a40a654f05debf0c561665e515d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-install.py,v 1.1 2015/02/08 17:31:49 wiz Exp $

Remove duplicate mkdirs.

--- install.py.orig	2015-01-25 07:13:20.000000000 +0000
+++ install.py
@@ -175,7 +175,6 @@ def main(args):
 
     mkdir(bin_dir, args.dryrun)
     mkdir(doc_dir, args.dryrun)
-    mkdir(etc_dir, args.dryrun)
     mkdir(share_dir, args.dryrun)
 
     cp('./bin/autojump', bin_dir, args.dryrun)
@@ -197,7 +196,6 @@ def main(args):
             modify_autojump_lua(args.clinkdir, bin_dir, args.dryrun)
     else:
         mkdir(etc_dir, args.dryrun)
-        mkdir(share_dir, args.dryrun)
         mkdir(zshshare_dir, args.dryrun)
 
         cp('./bin/autojump.sh', etc_dir, args.dryrun)