Compare commits

...

11 Commits

Author SHA1 Message Date
ijurisic b379c321a0 Updated script for Alpine 3.24 2026-06-10 09:15:03 +02:00
ijurisic bc9fbdf3bf Updated 2026-06-09 14:55:02 +02:00
ijurisic 5c62ca5642 Switch to NetworkManager service 2026-06-09 14:37:05 +02:00
ijurisic 82f7eb0d4a Updated 2026-06-09 14:12:36 +02:00
ijurisic de047a424d Fixed function choice 2026-06-09 14:08:05 +02:00
ijurisic 89cf0d6cdd Add script for install KDE on Alpine Linux 2026-06-09 13:54:22 +02:00
ijurisic b3309865b2 Add repository for Freetube 2026-02-03 08:00:49 +01:00
ijurisic 67ec3ed707 Updated dirs 2026-01-30 13:43:48 +01:00
ijurisic 53a3e0e1d8 Updated apps category 2026-01-30 13:39:16 +01:00
ijurisic 4b9432c5e7 Update signal name 2026-01-30 13:37:35 +01:00
ijurisic eb459d1a1a Add repository for Session Desktop 2026-01-30 13:35:06 +01:00
38 changed files with 294 additions and 7 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/bin/sh
PKG_KDE_APPS="kcalc dolphin-plugins elisa vlc-qt"
#### Functions
check_root() {
if [ "$(id -u)" -ne 0 ]; then
echo "Must be root to run $0"
exit
fi
}
choice() {
local prompt="$1"
local default="${2:-Y}" # Default to Y if not specified
local response
while true; do # Loop until valid input
read -rp "$prompt [Y/n/c] " -n 1 response
echo # New line after input
# Use default if input is empty
response=${response:-$default}
case "$response" in
[Yy]* ) return 0;; # Yes: return 0
[Nn]* ) return 1;; # No: return 1
[Cc]* ) return 2;; # Cancel: return 2
* ) echo "Invalid input. Please enter Y (Yes), n (No), or c (Cancel)." >&2;;
esac
done
}
#### Main
check_root
echo -ne "\nYou want to install KDE apps ($PKG_KDE_APPS)? "
if choice 2>/dev/null; then
apk add $PKG_KDE_APPS
fi
+42
View File
@@ -0,0 +1,42 @@
#!/bin/sh
PKG_FLATPAK="discover-backend-flatpak flatpak"
#### Functions
check_root() {
if [ "$(id -u)" -ne 0 ]; then
echo "Must be root to run $0"
exit
fi
}
choice() {
local prompt="$1"
local default="${2:-Y}" # Default to Y if not specified
local response
while true; do # Loop until valid input
read -rp "$prompt [Y/n/c] " -n 1 response
echo # New line after input
# Use default if input is empty
response=${response:-$default}
case "$response" in
[Yy]* ) return 0;; # Yes: return 0
[Nn]* ) return 1;; # No: return 1
[Cc]* ) return 2;; # Cancel: return 2
* ) echo "Invalid input. Please enter Y (Yes), n (No), or c (Cancel)." >&2;;
esac
done
}
#### Main
check_root
echo -ne "\nYou want to install support for Flatpak ($PKG_FLATPAK)? "
if choice 2>/dev/null; then
apk add $PKG_FLATPAK
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
fi
+40
View File
@@ -0,0 +1,40 @@
#!/bin/sh
PKG_OFFICE="libreoffice-calc libreoffice-writer libreoffice-draw libreoffice-kf6"
#### Functions
check_root() {
if [ "$(id -u)" -ne 0 ]; then
echo "Must be root to run $0"
exit
fi
}
choice() {
local prompt="$1"
local default="${2:-Y}" # Default to Y if not specified
local response
while true; do # Loop until valid input
read -rp "$prompt [Y/n/c] " -n 1 response
echo # New line after input
# Use default if input is empty
response=${response:-$default}
case "$response" in
[Yy]* ) return 0;; # Yes: return 0
[Nn]* ) return 1;; # No: return 1
[Cc]* ) return 2;; # Cancel: return 2
* ) echo "Invalid input. Please enter Y (Yes), n (No), or c (Cancel)." >&2;;
esac
done
}
#### Main
check_root
echo -ne "\nYou want to install office packages ($PKG_OFFICE)? "
if choice 2>/dev/null; then
apk add $PKG_OFFICE
fi
+51
View File
@@ -0,0 +1,51 @@
#!/bin/sh
#### Functions
check_root() {
if [ "$(id -u)" -ne 0 ]; then
echo "Must be root to run $0"
exit
fi
}
choice() {
local prompt="$1"
local default="${2:-Y}" # Default to Y if not specified
local response
while true; do # Loop until valid input
read -rp "$prompt [Y/n/c] " -n 1 response
echo # New line after input
# Use default if input is empty
response=${response:-$default}
case "$response" in
[Yy]* ) return 0;; # Yes: return 0
[Nn]* ) return 1;; # No: return 1
[Cc]* ) return 2;; # Cancel: return 2
* ) echo "Invalid input. Please enter Y (Yes), n (No), or c (Cancel)." >&2;;
esac
done
}
#### Main
check_root
echo -ne "\nInstall of KDE minimal (Setup Eudev, D-Bus, Elogind, Meta KDE Plasma)? "
if choice 2>/dev/null; then
setup-apkrepos -c -1
setup-devd udev
setup-desktop plasma
apk update
apk add dbus polkit-elogind elogind networkmanager
rc-update add dbus
rc-update add polkit
rc-update add elogind
rc-update add networkmanager boot
rc-update del networking boot
echo "Please reboot OS .."
fi
@@ -41,14 +41,14 @@ echo -e "\nUpdate apt"
echo "$APT_UPDATE"
$APT_UPDATE
echo -ne "\nYou want to install Element Desktop ($PKG_NAME)? "
echo -ne "\nYou want to install Element desktop ($PKG_NAME)? "
if choice 2>/dev/null; then
echo -ne "\nAdd repository for Element\n"
$APT_INST apt-transport-https wget
sudo install -d -m 0755 /etc/apt/keyrings
wget -q https://packages.element.io/debian/element-io-archive-keyring.gpg -O- | gpg --enarmor > /etc/apt/keyrings/element-io-archive-keyring.asc
echo "deb [signed-by=/etc/apt/keyrings/element-io-archive-keyring.asc] https://packages.element.io/debian/ default main" | tee /etc/apt/sources.list.d/element-io.list
wget -q https://packages.element.io/debian/element-io-archive-keyring.gpg -O- | tee /etc/apt/keyrings/element-desktop.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/element-desktop.asc] https://packages.element.io/debian/ default main" | tee /etc/apt/sources.list.d/element-desktop.list
$APT_UPDATE
echo -ne "\n$APT_INST $PKG_NAME\n"
$APT_INST $PKG_NAME
View File
+57
View File
@@ -0,0 +1,57 @@
#!/bin/bash
#### Variables
APT_UPDATE="apt -y update"
APT_INST="apt -y install"
APT_PURGE="apt -y purge"
APT_REMOVE="apt -y autoremove"
PKG="session-desktop"
#### Functions
check_root() {
if [ "$EUID" -ne 0 ]; then
echo "Must be root to run $0"
exit
fi
}
choice() {
echo -ne "[y/n]"
while true; do
read -rN1 input
case $input in
[yY][eE][sS] | [yY])
return 0
break
;;
[nN][oO] | [nN])
return 1
;;
esac
done
}
#### Main
check_root
echo -e "\nUpdate apt"
echo "$APT_UPDATE"
$APT_UPDATE
echo -ne "\nYou want to install Session desktop ($PKG)? "
if choice 2>/dev/null; then
echo -ne "\nAdd repository for Session desktop\n"
$APT_INST apt-transport-https wget
sudo install -d -m 0755 /etc/apt/keyrings
wget -q https://deb.oxen.io/pub.gpg -O- | tee /etc/apt/keyrings/session-desktop.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/session-desktop.asc] https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/session-desktop.list > /dev/null
$APT_UPDATE
echo -ne "\n$APT_INST $PKG\n"
$APT_INST $PKG
fi
echo -ne "\n\n"
@@ -41,14 +41,14 @@ echo -e "\nUpdate apt"
echo "$APT_UPDATE"
$APT_UPDATE
echo -ne "\nYou want to install Signal ($PKG)? "
echo -ne "\nYou want to install Signal desktop ($PKG)? "
if choice 2>/dev/null; then
echo -ne "\nAdd repository for Signal\n"
echo -ne "\nAdd repository for Signal desktop\n"
$APT_INST apt-transport-https wget
sudo install -d -m 0755 /etc/apt/keyrings
wget -q https://updates.signal.org/desktop/apt/keys.asc -O- | tee /etc/apt/keyrings/signal.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/signal.asc] https://updates.signal.org/desktop/apt xenial main" | sudo tee /etc/apt/sources.list.d/signal.list > /dev/null
wget -q https://updates.signal.org/desktop/apt/keys.asc -O- | tee /etc/apt/keyrings/signal-desktop.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/signal-dekstop.asc] https://updates.signal.org/desktop/apt xenial main" | sudo tee /etc/apt/sources.list.d/signal-desktop.list > /dev/null
$APT_UPDATE
echo -ne "\n$APT_INST $PKG\n"
$APT_INST $PKG

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before

Width:  |  Height:  |  Size: 852 B

After

Width:  |  Height:  |  Size: 852 B

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

+57
View File
@@ -0,0 +1,57 @@
#!/bin/bash
#### Variables
APT_UPDATE="apt -y update"
APT_INST="apt -y install"
APT_PURGE="apt -y purge"
APT_REMOVE="apt -y autoremove"
PKG="freetube"
#### Functions
check_root() {
if [ "$EUID" -ne 0 ]; then
echo "Must be root to run $0"
exit
fi
}
choice() {
echo -ne "[y/n]"
while true; do
read -rN1 input
case $input in
[yY][eE][sS] | [yY])
return 0
break
;;
[nN][oO] | [nN])
return 1
;;
esac
done
}
#### Main
check_root
echo -e "\nUpdate apt"
echo "$APT_UPDATE"
$APT_UPDATE
echo -ne "\nYou want to install Freetube ($PKG)? "
if choice 2>/dev/null; then
echo -ne "\nAdd repository for Freetube\n"
$APT_INST apt-transport-https wget
sudo install -d -m 0755 /etc/apt/keyrings
wget -q https://ghaaapt.github.io/freetube-apt/freetube-archive-keyring.asc -O- | tee /etc/apt/keyrings/freetube.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/freetube.asc] https://ghaaapt.github.io/freetube-apt/ stable main" | sudo tee /etc/apt/sources.list.d/freetube.list > /dev/null
$APT_UPDATE
echo -ne "\n$APT_INST $PKG\n"
$APT_INST $PKG
fi
echo -ne "\n\n"