2 touch /etc/samba/usershare.conf
3 mkdir /var/lib/samba/usershare/
4 echo "security = share" >> /etc/samba/usershare.conf
5 echo "usershare path = /var/lib/samba/usershare" >> /etc/samba/usershare.conf
6 echo "usershare allow guests = yes" >> /etc/samba/usershare.conf
7 echo "usershare max shares = 999" >> /etc/samba/usershare.conf
8 echo "usershare owner only = False" >> /etc/samba/usershare.conf
9 echo ">> CREATED: /etc/samba/usershare.conf"
10 echo ">> CREATED REQUIRED DIRECTORY /var/lib/samba/usershare"
11 echo "YOU MUST ADD: 'include = /etc/samba/usershare.conf' at the end of the [LOCAL] section in: /etc/samba/smb.conf & restart samba."
12 echo "PLEASE NOTE: All users you want to use nautilus-share MUST be in the group: users"
13 echo ">> FINISHED INSTALLING"
17 touch /etc/samba/usershare.conf
18 mkdir /var/lib/samba/usershare/
19 echo "security = share" >> /etc/samba/usershare.conf
20 echo "usershare path = /var/lib/samba/usershare" >> /etc/samba/usershare.conf
21 echo "usershare allow guests = yes" >> /etc/samba/usershare.conf
22 echo "usershare max shares = 999" >> /etc/samba/usershare.conf
23 echo "usershare owner only = False" >> /etc/samba/usershare.conf
24 echo ">> CREATED: /etc/samba/usershare.conf"
25 echo ">> CREATED REQUIRED DIRECTORY /var/lib/samba/usershare"
26 echo "YOU MUST ADD: 'include = /etc/samba/usershare.conf' at the end of the [LOCAL] section in: /etc/samba/smb.conf & restart samba."
27 echo "PLEASE NOTE: All users you want to use nautilus-share MUST be in the group: users"
28 echo ">> FINISHED INSTALLING"
32 rm /usr/lib/nautilus/extensions-3.0/libnautilus-share.a
33 rm /usr/lib/nautilus/extensions-3.0/libnautilus-share.so
34 echo ">> moving nautilus-share file: /etc/samba/usershare.conf to /etc/samba/usershare.conf.old"
35 mv /etc/samba/usershare.conf /etc/samba/usershare.conf.old
37 echo ">> NAUTILUS-SHARE-GNOME3 IS NOW UNINSTALLED"
39 echo "thank you for checking out my package! ;P"
40 echo "if your having trouble with it, contact me: email: sulucohmun@gmail.com,"
41 echo "irc: sulucohmun in #archlinux@freenode, aim: sulucohmun, Have a nice day!"