mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 13:40:07 +02:00
More checks
This commit is contained in:
parent
ed33f0cd0d
commit
b53c091ed0
@ -3,9 +3,8 @@
|
||||
|
||||
# minimal = sh
|
||||
os: linux
|
||||
language: minimal
|
||||
|
||||
dist: bionic
|
||||
language: minimal
|
||||
|
||||
git:
|
||||
depth: 3
|
||||
@ -18,8 +17,8 @@ branches:
|
||||
|
||||
before_install:
|
||||
# Add unstable repos for the last version of nano
|
||||
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse"
|
||||
# - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse"
|
||||
- sudo apt-get update -qq -y
|
||||
- sudo apt-get install -qq -y shellcheck nano_4.5
|
||||
- sudo apt-get install -qq -y shellcheck
|
||||
|
||||
script: ./tests.sh
|
||||
|
@ -160,7 +160,7 @@ f_install(){
|
||||
end="# END"
|
||||
theme="${G_DIR}/themes/${G_THEME}/"
|
||||
|
||||
if [ ! cd "$HOME" ]; then
|
||||
if cd "$HOME"; then
|
||||
echo "Error: Cannot open or access ${HOME} directory."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user