GithubHelp home page GithubHelp logo

dasgeekchannel / autoinstallbashscripts Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 23.0 122 KB

Scripts for core packages like Filezilla, Atom, Steam, Simplenote, Lutris, OBS, etc. auto installation bash script

License: GNU General Public License v3.0

Shell 100.00%

autoinstallbashscripts's People

Contributors

arm1e avatar dasgeekchannel avatar linuxwheels avatar mclark4386 avatar riderexmachina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autoinstallbashscripts's Issues

errors on kde neon 18.04

$ sudo ./installscript
install: invalid option -- 'y'
Try 'install --help' for more information.
./installscript: line 13: update: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
Entering ResolveByKeep 10%
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
./installscript: line 328: syntax error near unexpected token do' ./installscript: line 328: do'

Redundant variable

You call currentuser=$(who | awk 'NR==1{print $1}') multiple times throughout the script, even within the same function (EX: Lines 253, 259, and 261 after calling it originally in Line 239). The currentuser variable is going to stay until the script ends or if the user magically changes mid-way through the script (highly unlikely).

Not to mention, $USER is built in and sticks through sudo: (try echo $USER and sudo echo $USER in a terminal window) so as far as I can tell this is unnecessary in the first place...

Is there any specific reason you're doing it this way?

AMD Drivers

Are the drivers not from the 'Padoka' series rather than Proton that you mention in the script?

this is the UNSTABLE, built from git padoka ppa

errors

./installscript: line 509: unexpected EOF while looking for matching ``'
./installscript: line 638: syntax error: unexpected end of file

Vivaldi Web Brower Script Issue

Hi,

When I try and install Vivaldi with the script I get:

dpkg: error: cannot access archive 'vivaldi-stable_1.14.1077.55-1_amd64.deb': No such file or directory

PS - Thanks for Destination Linux. I love it!

Add essential apps to the kxstudio/jack installer

jack does not install on Ubuntu 18.04 unless you apt update && apt upgrade packages first. Then re-login.

$ sudo apt update && sudo apt upgrade -y
$ sudo apt install jackd2 carla-git non-mixer pulseaudio-module-jack cadence

Inconsistencies

There are a few inconsistencies in this script:

  1. Both apt and apt-get are used
  2. Despite needing to run the script with escalated privileges sudo is ran for many packages
  3. All SNAP programs install snapd before installing the snap package, despite snapd being its own install near the top of the script.

Here is what I advise:

  1. Standardize on apt or apt-get
  2. Either remove the need for escalated privileges at the start of the script or remove the odd sudo commands
  3. Make the SNAP packages rely on having the script's snapd installed (if possible).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.