Compare commits

..

No commits in common. "b459821a8dc8b928f389321e9d0e72bc764f78d6" and "5cb5396817236b5e7eea2d90d330f4324728c5de" have entirely different histories.

5 changed files with 4 additions and 37 deletions

View file

@ -1 +0,0 @@
DatabaseMirror database.clamav.net

View file

@ -1,12 +1,3 @@
# brew install
actions['brew_install'] = {
'command': '/opt/homebrew/bin/brew install ' + ' '.join(node.metadata.get('brew')),
'unless': f"""PKGS=$(/opt/homebrew/bin/brew leaves); for p in {' '.join(node.metadata.get('brew'))}; do grep -q "$p" <<< $PKGS || exit 9; done"""
}
# bw init
directories['/Users/mwiegand/.config/bundlewrap/lock'] = {}
# home
@ -30,16 +21,6 @@ files['/Users/mwiegand/.local/share/direnv/pyenv'] = {}
files['/Users/mwiegand/.local/share/direnv/venv'] = {}
files['/Users/mwiegand/.local/share/direnv/bundlewrap'] = {}
# clamav
files['/opt/homebrew/etc/clamav/freshclam.conf'] = {
'group': 'admin',
}
# run me baby one more time:
# freshclam && clamscan --infected --recursive --exclude-dir ~/Library/Mail ~
##################
for element in [*files.values(), *directories.values()]:

View file

@ -1,5 +1 @@
defaults = {
'brew': {
'clamav',
},
}
defaults = {}

View file

@ -43,7 +43,7 @@ actions['extract_roundcube'] = {
],
'triggers': [
'action:chown_roundcube',
'action:composer_lock_reset',
'action:composer_install',
],
}
actions['chown_roundcube'] = {
@ -75,16 +75,7 @@ files['/opt/roundcube/plugins/password/config.inc.php'] = {
'action:chown_roundcube',
],
}
actions['composer_lock_reset'] = {
'command': 'rm /opt/roundcube/composer.lock',
'triggered': True,
'needs': [
'action:chown_roundcube',
],
'triggers': [
'action:composer_install',
],
}
actions['composer_install'] = {
'command': "cp /opt/roundcube/composer.json-dist /opt/roundcube/composer.json && su www-data -s /bin/bash -c '/usr/bin/composer -d /opt/roundcube install'",
'triggered': True,

View file

@ -194,7 +194,7 @@
},
'roundcube': {
'product_name': 'Sublimity Mail',
'version': '1.6.2',
'version': '1.5.0',
'installer': True,
},
'vm': {