Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
autoinstaller-epaath-balpathmala
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bikram Dhoju
autoinstaller-epaath-balpathmala
Commits
85e0e17f
Commit
85e0e17f
authored
Dec 03, 2018
by
Bikram Dhoju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install_epaath.sh
parent
55edf2a4
Pipeline
#374
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
install_epaath.sh
epaath/install_epaath.sh
+25
-25
No files found.
epaath/install_epaath.sh
View file @
85e0e17f
...
...
@@ -30,31 +30,31 @@ install_apache2
#check if EPaath has been downloaded
cd
~
if
[
-f
"
$packagetar
"
]
;
then
rm
-f
$packagetar
#echo "the file exists"
fi
if
[
-f
"
$packagetar
.tar.gz.sha1"
]
;
then
rm
-f
$packagetar
.tar.gz.sha1
fi
if
[
-d
"/var/www/html/
$package
/"
]
;
then
#echo "here also it exists"
sudo rm
-r
/var/www/html/
$package
/
fi
if
[
-f
"/usr/share/applications/balpaath.desktop"
]
;
then
#echo "yaha pani xa raixa"
sudo rm
-f
/usr/share/applications/balpaath.desktop
fi
echo
" Downloading EPaath...."
echo
wget
-c
http://download.olenepal.org/
$packagetar
wget
-c
http://download.olenepal.org/
$packagetar
.sha1
sha1sum
-c
EPaath.tar.gz.sha1
#
cd ~
#
if [ -f "$packagetar" ]; then
#
rm -f $packagetar
#
#echo "the file exists"
#
fi
#
if [ -f "$packagetar.tar.gz.sha1" ]; then
#
rm -f $packagetar.tar.gz.sha1
#
fi
#
if [ -d "/var/www/html/$package/" ]; then
#
#echo "here also it exists"
#
sudo rm -r /var/www/html/$package/
#
fi
#
if [ -f "/usr/share/applications/balpaath.desktop" ];then
#
#echo "yaha pani xa raixa"
#
sudo rm -f /usr/share/applications/balpaath.desktop
#
fi
#
echo " Downloading EPaath...."
#
echo
#
wget -c http://download.olenepal.org/$packagetar
#
wget -c http://download.olenepal.org/$packagetar.sha1
#
sha1sum -c EPaath.tar.gz.sha1
if
[
$?
==
0
]
;
then
echo
"The package is ready to be extracted."
tar
-xzvf
$packagetar
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment