-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added post install step to .deb file
git-svn-id: https://codelite.svn.sourceforge.net/svnroot/codelite/trunk@1202 9da81c78-c036-0410-9e1f-a2b0375e4b5a
- Loading branch information
eranif
committed
Mar 24, 2008
1 parent
8d13c3c
commit f18519c
Showing
3 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
echo "Running postinst step..." | ||
\rm -f $HOME/.codelite/config/liteeditor.xml | ||
echo "Done" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
######################################################################################################################### | ||
##1. Install Apache and create the folder debs under its htdocs directory | ||
##2. Copy the .deb file to /usr/local/apache2/htdocs/debs | ||
##3. Run the following command from /usr/local/apache2/htdocs/debs: | ||
## /usr/bin/dpkg-scanpackages . /dev/null > Packages | ||
##4. Compress the Packages file to dists/gutsy/restricted/binary-i386/Packages.gz | ||
##5. Add the following entry to your /etc/apt/sources.list: deb http://eran-linux:/debs gutsy restricted (replace eran-linux with your IP/server name) | ||
echo "removing old deb files..." | ||
rm *.deb | ||
rm /usr/local/apache2/htdocs/debs/*.deb | ||
echo "Creating new deb file..." | ||
./make_deb.sh | ||
echo "Copying deb to /usr/local/apache2/htdocs/debs/" | ||
cp *.deb /usr/local/apache2/htdocs/debs | ||
echo "changing directory to /usr/local/apache2/htdocs/debs/" | ||
cd /usr/local/apache2/htdocs/debs | ||
echo "Running: /usr/bin/dpkg-scanpackages tool..." | ||
/usr/bin/dpkg-scanpackages . /dev/null > Packages | ||
echo "Compressing Packages..." | ||
gzip Packages | ||
echo "Moving Packages.gz to dist directory" | ||
mv Packages.gz dists/gutsy/restricted/binary-i386/Packages.gz | ||
echo "Done" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
1. Install Apache and create the folder debs under its htdocs directory | ||
2. Copy the .deb file to /usr/local/apache2/htdocs/debs | ||
3. Run the following command from /usr/local/apache2/htdocs/debs: | ||
/usr/bin/dpkg-scanpackages . /dev/null > Packages | ||
4. Compress the Packages file to dists/gutsy/restricted/binary-i386/Packages.gz | ||
5. Add the following entry to your /etc/apt/sources.list: deb http://eran-linux:/debs gutsy restricted (replace eran-linux with your IP/server name) | ||
######################################################################################################################### | ||
##1. Install Apache and create the folder debs under its htdocs directory | ||
##2. Copy the .deb file to /usr/local/apache2/htdocs/debs | ||
##3. Run the following command from /usr/local/apache2/htdocs/debs: | ||
## /usr/bin/dpkg-scanpackages . /dev/null > Packages | ||
##4. Compress the Packages file to dists/gutsy/restricted/binary-i386/Packages.gz | ||
##5. Add the following entry to your /etc/apt/sources.list: deb http://eran-linux:/debs gutsy restricted (replace eran-linux with your IP/server name) | ||
|
||
cp *.deb /usr/local/apache2/htdocs/debs | ||
cd /usr/local/apache2/htdocs/debs | ||
/usr/bin/dpkg-scanpackages . /dev/null > Packages | ||
gzip Packages | ||
mv Packages.gz dists/gutsy/restricted/binary-i386/Packages.gz | ||
echo "deb installed" | ||
|