Merge pull request #11592 from 4fury-c3440d8/new

actions improve.
This commit is contained in:
Rmys
2023-03-11 20:56:24 +03:00
committed by GitHub
+2 -1
View File
@@ -35,4 +35,5 @@ def install():
pisitools.dodir("/var/lib/clamav")
#pisitools.dodir("/var/log/clamav")
shelltools.system("find %s/etc/clamav -type f | sed -e 'p;s:.sample::' | xargs -n2 mv" % get.installDIR())
for t in shelltools.ls("%s/etc/clamav" % get.installDIR()):
pisitools.rename("/etc/clamav/%s" % t, t.replace(".sample", ""))