diff --git a/data/distro.yml b/data/distro.yml index 403a839..94550e2 100644 --- a/data/distro.yml +++ b/data/distro.yml @@ -19,9 +19,7 @@ - name: Add the Flathub repository text: "
Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -33,9 +31,7 @@Flatpak is installed by default on Fedora Workstation, Fedora Silverblue, and Fedora Kinoite. To get started, all you need to do is enable Flathub, which is the best way to get Flatpak apps. Just download and install the Flathub repository file.
Now all you have to do is install some apps!
The above links should work on the default GNOME and KDE Fedora installations, but if they fail for some reason you can manually add the Flathub remote by running:
-To install Flatpak, run the following in the terminal:
-A more up to date flatpak package is available in the Debian backports repository.
' - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart Linux. You can do this by right-clicking terminal, and then clicking "Shut down Linux". Now all you have to do is install some apps!
' @@ -93,9 +85,7 @@Now all you have to do is install some apps!
The above links should work on the default Red Hat Enterprise Linux Workstation 9 installation, but if they fail for some reason you can manually add the Flathub remote by running:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -149,9 +137,7 @@ - name: Add the Flathub repository text: 'Flathub is the best place to get Flatpak apps. To enable it, download and install the Flathub repository file or run the following in a terminal:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -166,9 +152,7 @@ - name: Add the Flathub repository text: 'Flathub is the best place to get Flatpak apps. To enable it, download and install the Flathub repository file or run the following in a terminal:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -203,9 +187,7 @@ - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
@@ -227,19 +209,13 @@ - name: Install the Discover Flatpak backend text: "The Flatpak plugin for the Software app makes it possible to install apps without needing the command line (available on Kubuntu 18.04 and newer). To install on 20.04 or later, run:
-On Kubuntu 18.04, you should run this instead:
-Flathub is the best place to get Flatpak apps. To enable it, download and install the Flathub repository file or run the following in a terminal:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -254,9 +230,7 @@ - name: Add the Flathub repository text: 'Flathub is the best place to get Flatpak apps. To enable it, download and install the Flathub repository file or run the following in a terminal:
-To complete setup, restart your system. Now all you have to do is install some apps!
@@ -278,9 +252,7 @@ - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, download and install the Flathub repository file or run the following in a terminal:
-To complete the setup, restart your system. Now all you have to do is install some apps!
' @@ -297,9 +269,7 @@ - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, download and install the Flathub repository file or run the following in a terminal:
-To complete setup, restart your system. Now all you have to do is install some apps!
@@ -318,9 +288,7 @@ - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, download and install the Flathub repository file or run the following in a terminal:
-To complete setup, restart your system. Now all you have to do is install some apps!
@@ -341,15 +309,11 @@ - name: Install Flatpak text: "A flatpak package is available in Raspberry Pi OS (previously called Raspbian) Stretch and newer. To install it, run the following as root:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-Important note: As of March 2021, Raspberry Pi computers still ship with the 32-bit version of Raspberry Pi OS. However Flathub started phasing out support for that architecture. If you consider Flathub as an important source of applications, it is recommended to use Raspberry Pi OS 64-bit as newer applications are more likely to be available for that platform.
" - name: Restart text: @@ -360,9 +324,7 @@ logo: "clearlinux.svg" introduction: >Flatpak is installed and Flathub repository is pre-configured by default on Clear Linux when installing the desktop bundle.
-Now all you have to do is install some apps!
- name: Void Linux @@ -376,9 +338,7 @@ - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -389,20 +349,14 @@ - name: Install Flatpak text: "To install Flatpak, set NixOS option services.flatpak.enable
to true
by putting the following into your /etc/nixos/configuration.nix
:
Then, rebuild and switch to the new configuration with:
-For more details see the NixOS documentation.
" - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -426,9 +380,7 @@ ymp install flatpak\nNo emerge way
-To enable services on Turkman Linux, run the following in a terminal:
@@ -440,9 +392,7 @@ - name: Add the Flathub repository text: "Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
@@ -455,15 +405,11 @@ - name: Install Flatpak text: "To install Flatpak on Ataraxia Linux, run the following in a terminal:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -480,15 +426,11 @@ - name: Install Flatpak text: "To install Flatpak on Deepin, run the following in a terminal:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-To install light and dark themes, run:
@@ -506,22 +448,16 @@ - name: Install Flatpak text: 'A flatpak package is available in Pardus 2019 and newer. To install it, run the following as root:
-For Pardus 2017 and older versions, a flatpak package is available in the official backports repository.
' - name: Install the Software Flatpak plugin text: "If you are running GNOME, it is also a good idea to install the Flatpak plugin for GNOME Software. To do this, run:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
' @@ -545,15 +481,11 @@ - name: Install Flatpak text: "A flatpak package is available in Pisi 2.1 and newer. To install it, run the following as root:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
@@ -566,19 +498,13 @@ - name: Install Flatpak text: "To install Flatpak on EndeavorOS, you must first make sure your installation is up to date, run the following in a terminal:
-Then install Flatpak:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
@@ -602,15 +528,11 @@ - name: Install Flatpak text: "To install Flatpak on GNU Guix, run the following in a terminal:
-Flathub is the best place to get Flatpak apps. To enable it, run:
-To complete setup, restart your system. Now all you have to do is install some apps!
diff --git a/source/javascripts/command.js b/source/javascripts/command.js index c018e4f..45ebfce 100644 --- a/source/javascripts/command.js +++ b/source/javascripts/command.js @@ -12,7 +12,7 @@ class TerminalCommand extends HTMLElement { connectedCallback() { const commands = this.textContent .trim() - .split("\\n") + .split(/\n|\\n/) .map((command) => command.trim()) .filter(Boolean);