Compare commits
3 Commits
da1c05a92d
...
a48a8a4ed0
| Author | SHA1 | Date | |
|---|---|---|---|
| a48a8a4ed0 | |||
| c3af07dcdc | |||
| ee22663f99 |
@@ -18,7 +18,7 @@
|
|||||||
# * Be careful with tabs in heredocs
|
# * Be careful with tabs in heredocs
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
declare -g SCRIPT_VERSION="1.4.1"
|
declare -g SCRIPT_VERSION="1.4.2"
|
||||||
declare -g MC_REPO="bullseye" # should match the MC_VERSION
|
declare -g MC_REPO="bullseye" # should match the MC_VERSION
|
||||||
declare -g MC_VERSION="33.0.37" # Do find all replace
|
declare -g MC_VERSION="33.0.37" # Do find all replace
|
||||||
declare -g BOARD_URL="https://yabb.jriver.com/interact/index.php/board,86.0.html" # MC33
|
declare -g BOARD_URL="https://yabb.jriver.com/interact/index.php/board,86.0.html" # MC33
|
||||||
@@ -604,7 +604,7 @@ install_mc_repo() {
|
|||||||
&& [[ $major_version -gt 24 || ($major_version -eq 24 && $minor_version -ge 10) ]]; then
|
&& [[ $major_version -gt 24 || ($major_version -eq 24 && $minor_version -ge 10) ]]; then
|
||||||
repo_file="/etc/apt/sources.list.d/jriver.sources" # TODO new Ubuntu sources file format
|
repo_file="/etc/apt/sources.list.d/jriver.sources" # TODO new Ubuntu sources file format
|
||||||
local old_repo_file="/etc/apt/sources.list.d/jriver.list"
|
local old_repo_file="/etc/apt/sources.list.d/jriver.list"
|
||||||
[[ -f $old_repo_file ]] && execute rm -f "$old_repo_file"
|
[[ -f $old_repo_file ]] && execute sudo rm -f "$old_repo_file"
|
||||||
read -r -d '' repo_text <<-EOF
|
read -r -d '' repo_text <<-EOF
|
||||||
Types: deb
|
Types: deb
|
||||||
URIs: http://dist.jriver.com/latest/mediacenter/
|
URIs: http://dist.jriver.com/latest/mediacenter/
|
||||||
|
|||||||
Reference in New Issue
Block a user