*.sh: Don't depent on bash to be at /bin/bash.
Scripts use /usr/bin/env bash instead of /bin/bash
This commit is contained in:
parent
493a9f03f3
commit
e46f7e63a6
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
echo "If you are upgrading, press ctrl + c NOW! You have 15 seconds time to cancel this. rerunning this script will overwrite your backups and it makes uninstall.sh useless."
|
echo "If you are upgrading, press ctrl + c NOW! You have 15 seconds time to cancel this. rerunning this script will overwrite your backups and it makes uninstall.sh useless."
|
||||||
sleep 15;
|
sleep 15;
|
||||||
echo "Taking backups..."
|
echo "Taking backups..."
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
echo "Restoring default files..."
|
echo "Restoring default files..."
|
||||||
cat ~/.bashrc.default.backup > ~/.bashrc
|
cat ~/.bashrc.default.backup > ~/.bashrc
|
||||||
cat ~/.bash_aliases.default.backup > ~/.bash_aliases
|
cat ~/.bash_aliases.default.backup > ~/.bash_aliases
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
echo "Backing up files..."
|
echo "Backing up files..."
|
||||||
touch ~/.bash_exports
|
touch ~/.bash_exports
|
||||||
cat ~/.bash_exports > ~/.bash_exports.old.backup
|
cat ~/.bash_exports > ~/.bash_exports.old.backup
|
||||||
|
|
Loading…
Reference in New Issue