• R/O
  • SSH

linux_settings: Commit

Repository contains settings and tricks for some software used on linux machines


Commit MetaInfo

Revision20849dfd5940b2f418138d8995af5eb3c889ce2b (tree)
Time2020-04-10 09:49:17
AuthorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

debian_based: Added support for ubuntu eoan

Change Summary

Incremental Difference

diff -r e2843c3cfe17 -r 20849dfd5940 debian_based/install_admin_packages.sh
--- a/debian_based/install_admin_packages.sh Thu Jan 09 18:55:17 2020 +0300
+++ b/debian_based/install_admin_packages.sh Fri Apr 10 03:49:17 2020 +0300
@@ -4,6 +4,7 @@
44
55 DISTRIB=$(lsb_release -i -s)
66 CODENAME=$(lsb_release -c -s)
7+VERSION_NUMBER=$(lsb_release -r -s)
78
89 if [ "$DISTRIB" = "Ubuntu" ]; then
910 APT="apt-get"
@@ -23,7 +24,7 @@
2324 $APT install -y smartmontools ntp ntpdate clamav rkhunter nfs-kernel-server screen rst2pdf &&\
2425 $APT install -y alsa-tools alsa-utils elinks lynx mtp-tools jmtpfs microcom minicom &&\
2526 $APT install -y curl checkinstall sshpass sshfs nmap bash-completion cpufrequtils &&\
26-$APT install -y command-not-found lm-sensors realpath dos2unix mtools python3-pexpect &&\
27+$APT install -y command-not-found lm-sensors dos2unix mtools python3-pexpect &&\
2728 $APT install -y python3-pip mycli sqlite3
2829
2930 if [ "$DISTRIB" = "Debian" ] || [ "$DISTRIB" = "Raspbian" ]; then
@@ -33,8 +34,9 @@
3334 $APT install -y linux-firmware
3435
3536 # These packages were removed starting from xenial
36- if [ "$CODENAME" != "xenial" ]; then
37+ if [ "$VERSION_NUMBER" \< "16.04" ]; then
3738 $APT install -y linux-firmware-nonfree
39+ $APT install -y realpath
3840 fi
3941 fi
4042
diff -r e2843c3cfe17 -r 20849dfd5940 debian_based/install_dev_packages.sh
--- a/debian_based/install_dev_packages.sh Thu Jan 09 18:55:17 2020 +0300
+++ b/debian_based/install_dev_packages.sh Fri Apr 10 03:49:17 2020 +0300
@@ -17,6 +17,10 @@
1717
1818 # TODO: untested
1919 CLANG_VER="3.8"
20+ elif [ "$CODENAME" = "eoan" ]; then
21+ LIBSTDCPP_VER="8"
22+
23+ CLANG_VER="9"
2024 elif [ "$CODENAME" = "bionic" ]; then
2125 LIBSTDCPP_VER="5"
2226
Show on old repository browser