Update 2 files
- /software.yml - /home/dot_local/bin/executable_install-program
This commit is contained in:
parent
104f1da369
commit
1a7714f3b0
2 changed files with 6 additions and 2 deletions
|
@ -1106,11 +1106,15 @@ async function ensurePackageManager(packageManager) {
|
|||
runCommand('Ensuring snapd is installed', `sudo apt-get install -y snapd`)
|
||||
// TODO Following may be required on Kali -> https://snapcraft.io/docs/installing-snap-on-kali
|
||||
// systemctl enable --now snapd apparmor
|
||||
runCommand('Enabling snapd service', `sudo systemctl enable snapd`)
|
||||
runCommand('Starting snapd service', `sudo systemctl start snapd`)
|
||||
} else if (dnf) {
|
||||
runCommand('Ensuring snapd is installed', `sudo dnf install -y snapd`)
|
||||
if (!fileExists('/snap')) {
|
||||
await $`sudo ln -s /var/lib/snapd/snap /snap`
|
||||
}
|
||||
runCommand('Enabling snapd service', `sudo systemctl enable snapd`)
|
||||
runCommand('Starting snapd service', `sudo systemctl start snapd`)
|
||||
} else if (yum) {
|
||||
runCommand('Ensuring snapd is installed', 'sudo yum install -y snapd')
|
||||
await $`sudo systemctl enable --now snapd.socket`
|
||||
|
|
|
@ -6964,8 +6964,8 @@ softwarePackages:
|
|||
_github: null
|
||||
_home: https://snapcraft.io/
|
||||
_name: Snap
|
||||
ansible:linux: professormanhattan.snapd
|
||||
_service: true
|
||||
# ansible:linux: professormanhattan.snapd
|
||||
_service: snapd
|
||||
snitch:
|
||||
# Used for OpenSnitch, which is "temporarily" disabled until it works as expected
|
||||
# _bin: opensnitchd
|
||||
|
|
Loading…
Reference in a new issue