-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall.sh
executable file
·31 lines (31 loc) · 1.48 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#***************************************************************************
#* Pysmssend ( Source Code ) Install Script
#***************************************************************************
echo -e "\n\n\n***** Installing Pysmssend ******\n\n"
echo -e "Creating Directory...\n"
mkdir -p /usr/share/pysmssend/
echo -e "****** Done ****** \n"
echo -e "Copying Files...\n"
cp -R Icons /usr/share/pysmssend/
cp /usr/share/pysmssend/Icons/pysmssend.png /usr/share/pixmaps/
echo -e "Building python modules...\n"
python setup.py build
echo -e "\n Done \n "
echo -e "installing python modules...\n"
python setup.py install --record .pysmssend_install.txt
echo -e "\n ****** Done ****** \n"
cp pysmssend /usr/bin/
cp pysmssendcmd /usr/bin/
cp pysmssend.desktop /usr/share/applications/
echo -e " *** Installation Completed Successfully *** \n\n\n\n"
echo -e " ************** IMPORTANT!!! *************** \n"
echo -e " Please make sure that you have PyQt4 (for gui support)"
echo -e " and python-mechanize installed\n"
echo -e "####################### INFO ###########################"
echo -e "# Run the program using pysmssend command #"
echo -e "# Use -h parameter to see the help file #"
echo -e "# Please read the README file first for proper use #"
echo -e "# Homepage: http://pysmssend.silverarrow.org #"
echo -e "# Bugs: https://github.com/hwoarang/pysmssend/issues #"
echo "########################################################"