|
|
@ -9,11 +9,11 @@ readonly MAIN_TAR_GZ_URL="https://git.artcode.re/miaou/miaou-bash/archive/main.t |
|
|
|
## FUNCTIONS |
|
|
|
|
|
|
|
function push_directory { |
|
|
|
pushd "$1" || echo "unable to push directory <$1>" && exit 1 |
|
|
|
pushd "$1" || (echo "unable to push directory <$1>" && exit 1) |
|
|
|
} |
|
|
|
|
|
|
|
function pop_directory { |
|
|
|
popd || echo "unable to pop from previous directory" && exit 1 |
|
|
|
popd || (echo "unable to pop from previous directory" && exit 1) |
|
|
|
} |
|
|
|
|
|
|
|
function root_required { |
|
|
|