1111#
1212# ###########################################################
1313
14- SCRIPT_VERSION=" 2.0.0 "
14+ SCRIPT_VERSION=" 2.0.1 "
1515INTERNET_CONNECTION=true
1616
1717LOG_FILE=/tmp/DAK404-OpenSUSE-Setup.log
@@ -147,9 +147,9 @@ codecs_install_VLC()
147147{
148148 message_logger " [I] Started: Codecs Installation - VLC"
149149 echo " [ ATTENTION ] Installing: Codecs from VLC Repositories"
150- sudo zypper install ffmpeg gstreamer-plugins-{good,bad,ugly,libav}
150+ sudo zypper install -y ffmpeg gstreamer-plugins-{good,bad,ugly,libav}
151151 latest_version=$( zypper search -s libavcodec | grep -Eo ' libavcodec[0-9]+' | sort -V | tail -1)
152- sudo zypper install --from VLC --allow-vendor-change vlc-codecs x264 x265 $latest_version
152+ sudo zypper install -y - -from VLC --allow-vendor-change vlc-codecs x264 x265 $latest_version
153153 message_logger " [I] Finished: Codecs Installation - VLC"
154154}
155155
@@ -158,7 +158,7 @@ codecs_install_VLC()
158158# ********************************************************* #
159159
160160# Function to install KDE Utilities
161- sw_install_kde-pkgs ()
161+ sw_install_kde_pkgs ()
162162{
163163 message_logger " [I] Started: KDE Utilities Installation"
164164 echo " [ ATTENTION ] Installing: KDE Utilities"
@@ -167,7 +167,7 @@ sw_install_kde-pkgs()
167167}
168168
169169# Function to install Microsoft Edge and VS Code
170- sw_install_microsoft-pkgs ()
170+ sw_install_microsoft_pkgs ()
171171{
172172 message_logger " [I] Started: Installing Microsoft Edge and VS Code"
173173 echo " [ ATTENTION ] Installing: Microsoft Edge and VS Code"
@@ -176,7 +176,7 @@ sw_install_microsoft-pkgs()
176176}
177177
178178# Function to install GitHub Desktop and Git
179- sw_install_git-github-pkgs ()
179+ sw_install_git_github_pkgs ()
180180{
181181 message_logger " [I] Started: Installing GitHub Desktop and Git"
182182 echo " [ ATTENTION ] Installing: GitHub Desktop & Git"
@@ -185,7 +185,7 @@ sw_install_git-github-pkgs()
185185}
186186
187187# Function to install System Utilities
188- sw_install_sys-util-pkgs ()
188+ sw_install_sys_util_pkgs ()
189189{
190190 message_logger " [I] Started: Installing System Utilities"
191191 echo " [ ATTENTION ] Installing: System Utilities"
@@ -194,7 +194,7 @@ sw_install_sys-util-pkgs()
194194}
195195
196196# Function to install Gaming Components
197- sw_install_gaming-pkgs ()
197+ sw_install_gaming_pkgs ()
198198{
199199 message_logger " [I] Started: Installing WINE and Gaming Components"
200200 echo " [ ATTENTION ] Installing: WINE and Gaming Components"
@@ -203,7 +203,7 @@ sw_install_gaming-pkgs()
203203}
204204
205205# Function to install VLC and Codecs
206- sw_remove_VLC-TW-Main-pkgs ()
206+ sw_remove_VLC_Main_pkgs ()
207207{
208208 message_logger " [I] Started: Removing VLC and Codecs from Main Repository (OSS)"
209209 echo " [ ATTENTION ] Removing: VLC and Codecs from Main Repository (OSS)"
@@ -212,7 +212,7 @@ sw_remove_VLC-TW-Main-pkgs()
212212}
213213
214214# Function to install VLC and Codecs
215- sw_install_VLC-pkgs ()
215+ sw_install_VLC_pkgs ()
216216{
217217 message_logger " [I] Started: Installing VLC"
218218 echo " [ ATTENTION ] Installing: VLC"
@@ -226,7 +226,7 @@ sw_install_VLC-pkgs()
226226# ********************************************************* #
227227
228228# Function to install Discord using my script
229- sw_install_Discord-script ()
229+ sw_install_Discord_script ()
230230{
231231 message_logger " [I] Started: Installing Discord [Script]"
232232 echo " [ ATTENTION ] Installing: Discord"
@@ -235,7 +235,7 @@ sw_install_Discord-script()
235235}
236236
237237# Function to install OpenRGB using my script
238- sw_install_OpenRGB-script ()
238+ sw_install_openRGB_script ()
239239{
240240 message_logger " [I] Started: Installing OpenRGB [Script]"
241241 echo " [ ATTENTION ] Installing: OpenRGB"
@@ -244,7 +244,7 @@ sw_install_OpenRGB-script()
244244}
245245
246246# Function to install Gigabyte Sleep Fix using my script
247- sw_install_Gigabyte-Sleep-Fix-script ()
247+ sw_install_Gigabyte_Sleep_Fix_script ()
248248{
249249 message_logger " [I] Started: Installing Sleep Fix for Gigabyte Motherboards [Script]"
250250 echo " [ ATTENTION ] Installing: Sleep Fix for Gigabyte Motherboards"
@@ -253,7 +253,7 @@ sw_install_Gigabyte-Sleep-Fix-script()
253253}
254254
255255# Function to install KDE Personalization using my script
256- sw_install_KDE-Personalization-script ()
256+ sw_install_KDE_Personalization_script ()
257257{
258258 message_logger " [I] Started: Installing KDE Personalization [Script]"
259259 echo " [ ATTENTION ] Installing: Wallpaper, Kvantum and Sound Themes"
@@ -262,7 +262,7 @@ sw_install_KDE-Personalization-script()
262262}
263263
264264# Function to remove Flatpak and Flatpak Applications using my script
265- sw_remove_flatpak-script ()
265+ sw_remove_flatpak_script ()
266266{
267267 message_logger " [I] Started: Removing Flatpak and Flatpak Applications [Script]"
268268 echo " [ ATTENTION ] Removing: Flatpak and Flatpak Applications"
@@ -333,32 +333,32 @@ then
333333 esac
334334 done
335335
336- sw_install_kde-pkgs
337- sw_install_microsoft-pkgs
338- sw_install_git-github-pkgs
339- sw_install_sys-util-pkgs
340- sw_install_gaming-pkgs
341- sw_remove_VLC-TW-Main-pkgs
342- sw_install_VLC-pkgs
336+ sw_install_kde_pkgs
337+ sw_install_microsoft_pkgs
338+ sw_install_git_github_pkgs
339+ sw_install_sys_util_pkgs
340+ sw_install_gaming_pkgs
341+ sw_remove_VLC_Main_pkgs
342+ sw_install_VLC_pkgs
343343
344344 # Process arguments and call corresponding functions
345345 for arg in " $@ "
346346 do
347347 case " $arg " in
348348 discord)
349- sw_install_Discord-script
349+ sw_install_Discord_script
350350 ;;
351351 openrgb)
352- sw_install_openRGB-script
352+ sw_install_openRGB_script
353353 ;;
354354 gigabyte-sleep-fix)
355- sw_install_Gigabyte-Sleep-Fix-script
355+ sw_install_Gigabyte_Sleep_Fix_script
356356 ;;
357357 personalize)
358- sw_install_KDE-Personalization-script
358+ sw_install_KDE_Personalization_script
359359 ;;
360360 remove-flatpak)
361- sw_remove_flatpak-script
361+ sw_remove_flatpak_script
362362 ;;
363363 esac
364364 done
0 commit comments