Selaa lähdekoodia

Fixed firefox issue and added README.MD

Mike 1 kuukausi sitten
vanhempi
sitoutus
46296d8378
3 muutettua tiedostoa jossa 28 lisäystä ja 1 poistoa
  1. BIN
      .install.sh.swp
  2. 18 0
      README.MD
  3. 10 1
      install.sh

BIN
.install.sh.swp


+ 18 - 0
README.MD

@@ -0,0 +1,18 @@
+This script will:
+ - Identify the type type of file being passed as an argument
+ - Install that file
+
+This script will place AppImages and tabralls in ~/Software/[application name]/apps
+This script will create a folder for .desktop files in ~/Software/[application name]/assets
+
+USER WILL HAVE TO MANUALL WRITE .DESKTOP FILES AND PLACE THEM, ALONG WITH ICONS, IN THE /ASSETS FOLDER!
+
+Firefox will be installed in /opt/firefox
+
+Symlinks will be created in /usr/local/bin
+
+.desktop symlinks wil be created in /usr/local/share/applications 
+
+USAGE -
+sudo ./install <opt> <filename>
+

+ 10 - 1
install.sh

@@ -19,6 +19,15 @@
 #
 ######
 
+######
+#
+# INSTALLING THIS SCRIPT
+#
+# Link to this script in /usr/bin so it can be called by the sudo command
+# ex. sudo ln -fs /home/mike/Software/TG_Installer/TG_Installer.sh /usr/bin/tg_installer
+#
+######
+
 helpFunction()
 {
   echo " "
@@ -168,7 +177,7 @@ if [ $application == 'firefox' ]; then
     exit 1
   fi
 
-  applink='/opt/$application/$application'
+  applink=/opt/$application/$application
 
   chowm mike:mike /opt/firefox # Write permissions needed for firefox to check for updates