Adhere to the naming convention

This commit is contained in:
Michele Cereda
2022-04-27 18:22:52 +02:00
parent 3f12e20b1c
commit 5ebc8d15be
22 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
sudo zypper --non-interactive search --installed-only 'python??' \
| sed -e '1,/---/ d' -e 's/ | /,/g' \
| awk -F ',' '{print $2 "-netaddr"}' \
| xargs sudo zypper install --no-confirm ansible

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env sh
sudo zypper install --no-confirm \
boinc-client \
boinc-manager
sudo usermod --append --groups boinc mek
# stop computation when user active
xhost +SI:localuser:boinc
# virtualbox integration
command VBoxManage --version >/dev/null && sudo usermod --append --groups vboxusers boinc
# amdgpu integration
# https://en.opensuse.org/SDB:AMDGPU
# https://amdgpu-install.readthedocs.io/en/latest/install-installing.html
amdgpu-install --usecase=workstation --opencl=rocr

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
# sources:
# - https://forums.opensuse.org/showthread.php/538576-Installing-Vivaldi-browser-(based-on-a-Chromium)-into-the-openSUSE
sudo zypper --non-interactive install chromium

View File

@@ -0,0 +1,11 @@
#!/bin/sh
# sources:
# - https://www.dropbox.com/install-linux
# No packages available
# Headless installation needed
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
cd bin && wget -O dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py" && chmod u+x dropbox.py && cd -
dropbox.py start # or ~/.dropbox-dist/dropboxd

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
sudo zypper --non-interactive search --installed-only 'python??' \
| sed -e '1,/---/ d' -e 's/ | /,/g' \
| awk -F ',' '{print $2 "-pre-commit"}' \
| xargs sudo zypper install --no-confirm git-lfs

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env sh
sudo zypper install --no-confirm https://prerelease.keybase.io/keybase_amd64.rpm
systemctl --user enable --now keybase.service
systemctl --user enable --now kbfs.service

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env sh
: "${USER_FULL_NAME:='Mek'}"
: "${USER_NAME:='mek'}"
: "${USER_PASSWORD:?'not set'}"
: "${USER_TYPE:='local'}"
yast users add batchmode verbose \
type="$USER_TYPE" \
username="$USER_NAME" \
password="$USER_PASSWORD" \
cn="$USER_FULL_NAME"

View File

@@ -0,0 +1,14 @@
#!/bin/sh
# sources:
# - https://en.opensuse.org/Additional_package_repositories
sudo zypper --non-interactive install ansible dolphin-plugins
# sudo zypper addrepo --check --refresh --priority 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$releasever/' packman
sudo zypper addrepo --check --refresh --priority 90 https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman
sudo zypper addrepo --check --refresh --priority 90 https://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/ mozilla
./chromium.install.sh
./keybase.install.sh

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
sudo zypper install --no-confirm virtualbox
sudo usermod --append --groups vboxusers $USER

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env sh
# source: https://en.opensuse.org/Visual_Studio_Code
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo zypper addrepo --refresh https://packages.microsoft.com/yumrepos/vscode vscode
sudo zypper install --no-confirm code

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env sh
# sources:
# - https://forums.opensuse.org/showthread.php/538576-Installing-Vivaldi-browser-(based-on-a-Chromium)-into-the-openSUSE
sudo zypper addrepo --refresh https://repo.vivaldi.com/archive/vivaldi-suse.repo
# sudo zypper repos --sort-by-priority
sudo zypper --non-interactive install vivaldi-stable

View File

@@ -0,0 +1,7 @@
#!/bin/sh
# sources:
# - https://en.opensuse.org/OpenZFS
sudo zypper addrepo --refresh https://download.opensuse.org/repositories/filesystems/openSUSE_Tumbleweed/filesystems.repo
sudo zypper install --no-confirm zfs