mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-04 16:49:22 +01:00
*.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."
|
||||
sleep 15;
|
||||
echo "Taking backups..."
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
echo "Restoring default files..."
|
||||
cat ~/.bashrc.default.backup > ~/.bashrc
|
||||
cat ~/.bash_aliases.default.backup > ~/.bash_aliases
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
echo "Backing up files..."
|
||||
touch ~/.bash_exports
|
||||
cat ~/.bash_exports > ~/.bash_exports.old.backup
|
||||
|
Loading…
Reference in New Issue
Block a user