We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2550ce6 commit c4ce7e9Copy full SHA for c4ce7e9
install.sh
@@ -4,7 +4,14 @@
4
echo "Installing python-nautilus..."
5
if type "pacman" > /dev/null 2>&1
6
then
7
- sudo pacman -S --noconfirm python-nautilus
+ # check if already install, else install
8
+ pacman -Qi python-nautilus &> /dev/null
9
+ if [ `echo $?` -eq 1 ]
10
+ then
11
+ sudo pacman -S --noconfirm python-nautilus
12
+ else
13
+ echo "python-nautilus is already installed"
14
+ fi
15
elif type "apt-get" > /dev/null 2>&1
16
17
package_name="python-nautilus"
0 commit comments