Remove rpmfusion from Fedora
This commit is contained in:
12
installJRMC
12
installJRMC
@@ -318,8 +318,10 @@ EOF
|
|||||||
_pkg="createrepo"
|
_pkg="createrepo"
|
||||||
elif [[ "$1" == "rpmfusion-free-release" ]]; then
|
elif [[ "$1" == "rpmfusion-free-release" ]]; then
|
||||||
if [[ "$ID" == "fedora" ]]; then
|
if [[ "$ID" == "fedora" ]]; then
|
||||||
_url_pkg="https://download1.rpmfusion.org/free/$ID/rpmfusion-free-release-$VERSION_ID.noarch.rpm"
|
# As of MC26 and Fedora 32 I don't believe that the rpmfusion repo is necessary
|
||||||
_pkg="$1"
|
#_url_pkg="https://download1.rpmfusion.org/free/$ID/rpmfusion-free-release-$VERSION_ID.noarch.rpm"
|
||||||
|
#_pkg="$1"
|
||||||
|
_pkg=""
|
||||||
elif [[ "$ID" == "centos" ]]; then
|
elif [[ "$ID" == "centos" ]]; then
|
||||||
_url_pkg="https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$VERSION_ID.noarch.rpm"
|
_url_pkg="https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$VERSION_ID.noarch.rpm"
|
||||||
_pkg="$1"
|
_pkg="$1"
|
||||||
@@ -817,13 +819,13 @@ EOF"
|
|||||||
if [[ "$_novncauth" == "true" ]]; then
|
if [[ "$_novncauth" == "true" ]]; then
|
||||||
_exec_start_cmd="/usr/bin/x11vnc -display $_display -noscr -geometry 1920x1080 -auth guess -forever -bg -nopw"
|
_exec_start_cmd="/usr/bin/x11vnc -display $_display -noscr -geometry 1920x1080 -auth guess -forever -bg -nopw"
|
||||||
else
|
else
|
||||||
_exec_start_cmd="/usr/bin/x11vnc -display $_display -noscr -geometry 1920x1080 -rfbauth $HOME/.vnc/jrmc_passwd -auth guess -forever -bg"
|
_exec_start_cmd="/usr/bin/x11vnc -display $_display -noscr -geometry 1920x1080 -auth guess -forever -bg -rfbauth $HOME/.vnc/jrmc_passwd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"${_bash_cmd[@]}" "cat <<-EOF > $_service_fname
|
"${_bash_cmd[@]}" "cat <<-EOF > $_service_fname
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=x11vnc
|
Description=x11vnc
|
||||||
After=display-manager.service
|
After=multi.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
$_user_specifier
|
$_user_specifier
|
||||||
@@ -834,7 +836,7 @@ Restart=always
|
|||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=multi-user.target
|
||||||
EOF"
|
EOF"
|
||||||
_systemctlReloadAndEnable "$_service_name"
|
_systemctlReloadAndEnable "$_service_name"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user