Skip to content

Commit

Permalink
Enforcing bash in all scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldesousa committed Sep 5, 2016
1 parent ee4f192 commit a861bcf
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 15 deletions.
11 changes: 11 additions & 0 deletions .project
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fix-ubuntu</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
4 changes: 2 additions & 2 deletions 00-fix-all.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 01-08-2016
Expand All @@ -11,4 +11,4 @@
./06-fix-video-player.sh
./07-fix-image-viewer.sh
./08-fix-file-editor.sh
./09-fix-audio-player.sh
./09-fix-audio-player.sh
2 changes: 1 addition & 1 deletion 01-fix-theme.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 01-08-2016
Expand Down
2 changes: 1 addition & 1 deletion 02-fix-file-manager.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 01-08-2016
Expand Down
2 changes: 1 addition & 1 deletion 03-fix-document-reader.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 01-08-2016
Expand Down
4 changes: 2 additions & 2 deletions 04-tooling.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 01-08-2016
Expand All @@ -13,4 +13,4 @@ echo "If Diodon is not recording the clipboard checkout this link:"
echo "https://esite.ch/2014/08/why-does-diodon-not-save-anything-to-the-clipboard-history/"
echo
echo "To set up a shortcut for Diodon follow these instructions:"
echo "https://esite.ch/2015/07/using-custom-shortcuts-of-de-as-diodon-hotkey/"
echo "https://esite.ch/2015/07/using-custom-shortcuts-of-de-as-diodon-hotkey/"
2 changes: 1 addition & 1 deletion 05-fix-video-editor.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 01-08-2016
Expand Down
2 changes: 1 addition & 1 deletion 06-fix-video-player.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 09-08-2016
Expand Down
2 changes: 1 addition & 1 deletion 07-fix-image-viewer.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 09-08-2016
Expand Down
2 changes: 1 addition & 1 deletion 08-fix-file-editor.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 10-08-2016
Expand Down
4 changes: 2 additions & 2 deletions 09-fix-audio-player.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Author: Luís de Sousa (luis.de.sousa[@]protonmail.ch)
# Date: 23-08-2016
Expand All @@ -22,4 +22,4 @@ then
else
sed 's/rhythmbox/sayonara/' /usr/share/applications/defaults.list > ~/.local/share/applications/defaults.list
echo "Creating new"
fi
fi
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -134,11 +134,11 @@ or checked out directly with git:
Since these scripts install software and change default applications, they must
be run with `sudo` privileges. E.g.:

`sudo sh ./00-fix-all.sh`
`sudo bash ./00-fix-all.sh`

The same for a single script:

`sudo sh ./06-fix-video-player.sh`
`sudo bash ./06-fix-video-player.sh`

Licence
-------
Expand Down

0 comments on commit a861bcf

Please sign in to comment.