Hanno Böck commited on 2019-12-21 18:01:40
Zeige 1 geänderte Dateien mit 7 Einfügungen und 0 Löschungen.
... | ... |
@@ -72,6 +72,13 @@ parser.add_argument("-3", "--thirdparty", action="store_true", |
72 | 72 |
help="Scan for third-party components like jquery") |
73 | 73 |
opts = parser.parse_args() |
74 | 74 |
|
75 |
+# Warn people with old-style freewvsdb dirs, |
|
76 |
+# should be removed in a few months |
|
77 |
+for d in ["/usr/share/freewvs", "/usr/local/share/freewvs"]: |
|
78 |
+ if os.path.isdir(d): |
|
79 |
+ print("WARNING: Obsolete freewvs data in %s, removal recommended" % d, |
|
80 |
+ file=sys.stderr) |
|
81 |
+ |
|
75 | 82 |
jdir = False |
76 | 83 |
for p in [os.path.dirname(sys.argv[0]) + '/freewvsdb', '/var/lib/freewvs']: |
77 | 84 |
if os.path.isdir(p): |
78 | 85 |