mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-30 01:35:34 +00:00
Moved installers to use library
This commit is contained in:
parent
5714ea26cc
commit
827b6c406b
@ -2,10 +2,8 @@
|
||||
|
||||
# Automatic install script for Bitwig Studio
|
||||
|
||||
# Program version number comparison
|
||||
function versionGreater() {
|
||||
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
|
||||
}
|
||||
# Import library
|
||||
source ./install-lib.sh
|
||||
|
||||
bitwig=$(dnf list | grep bitwig-studio)
|
||||
bitwigVersion=$(echo $bitwig | awk '{print $2;}')
|
@ -2,10 +2,8 @@
|
||||
|
||||
# Automatic install script for Dragonframe
|
||||
|
||||
# Program version number comparison
|
||||
function versionGreater() {
|
||||
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
|
||||
}
|
||||
# Import library
|
||||
source ./install-lib.sh
|
||||
|
||||
dragonframe=$(dnf list | grep dragonframe)
|
||||
dragonframeVersion=$(echo $dragonframe | awk '{print $2;}')
|
4
scripts/installers/install-lib.sh
Normal file
4
scripts/installers/install-lib.sh
Normal file
@ -0,0 +1,4 @@
|
||||
# Program version number comparison
|
||||
function versionGreater() {
|
||||
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user