Added apt check and fix code + zfs code
This commit is contained in:
parent
6e75c3a27e
commit
d6169ea75a
6 changed files with 32 additions and 0 deletions
3
_home/bin/executable_fix-apt.sh
Normal file
3
_home/bin/executable_fix-apt.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#! /usr/bin/bash
|
||||
|
||||
sudo chmod -v +x /usr/bin/apt*
|
|
@ -22,6 +22,8 @@ echo "editors found:"
|
|||
update-alternatives --query editor | grep Alternative: | cut -d: -f2
|
||||
echo ""
|
||||
|
||||
print-result 'Executable `apt`' $([[ -e $(type -fP apt) ]] && [[ -x $(type -fP apt | head -1) ]] && echo 'Found' || echo 'NOT found' )
|
||||
|
||||
check-exist "Byobu" "/usr/bin/byobu-launch"
|
||||
check-exist "oh-my-posh"
|
||||
check-exist "~/.poshtheme.omp.json" "~/.poshtheme.omp.json" "-r"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue