add installation command check
This commit is contained in:
parent
9864022fc7
commit
412d2a43f5
|
@ -40,6 +40,11 @@ ln -s /mnt/media/Video "$HOME/Video"
|
||||||
ln -s '/mnt/media/Audio Books' "$HOME/Audio/audio-books"
|
ln -s '/mnt/media/Audio Books' "$HOME/Audio/audio-books"
|
||||||
ln -s /mnt/media/Music "$HOME/Audio/music"
|
ln -s /mnt/media/Music "$HOME/Audio/music"
|
||||||
|
|
||||||
|
if command -v pacman ; then
|
||||||
echo "Installing xdg-user-dirs ..."
|
echo "Installing xdg-user-dirs ..."
|
||||||
echo " pacman -Syu xdg-user-dirs"
|
echo " pacman -Syu xdg-user-dirs"
|
||||||
sudo pacman -Syu xdg-user-dirs
|
sudo pacman -Syu xdg-user-dirs
|
||||||
|
elif command -v apt-get ; then
|
||||||
|
echo " apt-get update && apt-get install xdg-user-dirs"
|
||||||
|
# etc ...
|
||||||
|
fi
|
||||||
|
|
Reference in New Issue