-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
185 additions
and
0 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,29 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
RIGHT="\e["70"\`" # => [ OK ] | ||
OK="$RIGHT [ OK ]" | ||
FAIL="$RIGHT [ FAIL ]" | ||
|
||
case "$1" in | ||
configure) | ||
# We have to change the directory in the ppa | ||
if [[ `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/` ]]; then | ||
echo -e -n "[Cairo-Dock-Team] Repository: \n * Updated your sources.list (repository.glx-dock.org => download.tuxfamily.org/glxdock/repository)" | ||
rm -rf /tmp/cairo-dock-dpkg | ||
mkdir /tmp/cairo-dock-dpkg | ||
for i in `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/`; do | ||
cp $i /tmp/cairo-dock-dpkg/ | ||
done | ||
grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/ | xargs sed -i "s/http:\/\/repository\.glx-dock\.org/http:\/\/download.tuxfamily.org\/glxdock\/repository/g" | ||
if [ $? -eq 0 ]; then | ||
rm -r /tmp/cairo-dock-dpkg | ||
echo -e "$OK" | ||
else | ||
echo -e "$FAIL\nPlease update our ppa (cairo-dock-team/debian/ubuntu) from $BEFORE to $AFTER in your sources.list" | ||
cp -R /tmp/cairo-dock-dpkg/* /etc/apt/ | ||
fi | ||
fi | ||
;; | ||
esac | ||
|
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,29 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
RIGHT="\e["70"\`" # => [ OK ] | ||
OK="$RIGHT [ OK ]" | ||
FAIL="$RIGHT [ FAIL ]" | ||
|
||
case "$1" in | ||
configure) | ||
# We have to change the directory in the ppa | ||
if [[ `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/` ]]; then | ||
echo -e -n "[Cairo-Dock-Team] Repository: \n * Updated your sources.list (repository.glx-dock.org => download.tuxfamily.org/glxdock/repository)" | ||
rm -rf /tmp/cairo-dock-dpkg | ||
mkdir /tmp/cairo-dock-dpkg | ||
for i in `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/`; do | ||
cp $i /tmp/cairo-dock-dpkg/ | ||
done | ||
grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/ | xargs sed -i "s/http:\/\/repository\.glx-dock\.org/http:\/\/download.tuxfamily.org\/glxdock\/repository/g" | ||
if [ $? -eq 0 ]; then | ||
rm -r /tmp/cairo-dock-dpkg | ||
echo -e "$OK" | ||
else | ||
echo -e "$FAIL\nPlease update our ppa (cairo-dock-team/debian/ubuntu) from $BEFORE to $AFTER in your sources.list" | ||
cp -R /tmp/cairo-dock-dpkg/* /etc/apt/ | ||
fi | ||
fi | ||
;; | ||
esac | ||
|
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,29 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
RIGHT="\e["70"\`" # => [ OK ] | ||
OK="$RIGHT [ OK ]" | ||
FAIL="$RIGHT [ FAIL ]" | ||
|
||
case "$1" in | ||
configure) | ||
# We have to change the directory in the ppa | ||
if [[ `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/` ]]; then | ||
echo -e -n "[Cairo-Dock-Team] Repository: \n * Updated your sources.list (repository.glx-dock.org => download.tuxfamily.org/glxdock/repository)" | ||
rm -rf /tmp/cairo-dock-dpkg | ||
mkdir /tmp/cairo-dock-dpkg | ||
for i in `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/`; do | ||
cp $i /tmp/cairo-dock-dpkg/ | ||
done | ||
grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/ | xargs sed -i "s/http:\/\/repository\.glx-dock\.org/http:\/\/download.tuxfamily.org\/glxdock\/repository/g" | ||
if [ $? -eq 0 ]; then | ||
rm -r /tmp/cairo-dock-dpkg | ||
echo -e "$OK" | ||
else | ||
echo -e "$FAIL\nPlease update our ppa (cairo-dock-team/debian/ubuntu) from $BEFORE to $AFTER in your sources.list" | ||
cp -R /tmp/cairo-dock-dpkg/* /etc/apt/ | ||
fi | ||
fi | ||
;; | ||
esac | ||
|
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,29 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
RIGHT="\e["70"\`" # => [ OK ] | ||
OK="$RIGHT [ OK ]" | ||
FAIL="$RIGHT [ FAIL ]" | ||
|
||
case "$1" in | ||
configure) | ||
# We have to change the directory in the ppa | ||
if [[ `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/` ]]; then | ||
echo -e -n "[Cairo-Dock-Team] Repository: \n * Updated your sources.list (repository.glx-dock.org => download.tuxfamily.org/glxdock/repository)" | ||
rm -rf /tmp/cairo-dock-dpkg | ||
mkdir /tmp/cairo-dock-dpkg | ||
for i in `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/`; do | ||
cp $i /tmp/cairo-dock-dpkg/ | ||
done | ||
grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/ | xargs sed -i "s/http:\/\/repository\.glx-dock\.org/http:\/\/download.tuxfamily.org\/glxdock\/repository/g" | ||
if [ $? -eq 0 ]; then | ||
rm -r /tmp/cairo-dock-dpkg | ||
echo -e "$OK" | ||
else | ||
echo -e "$FAIL\nPlease update our ppa (cairo-dock-team/debian/ubuntu) from $BEFORE to $AFTER in your sources.list" | ||
cp -R /tmp/cairo-dock-dpkg/* /etc/apt/ | ||
fi | ||
fi | ||
;; | ||
esac | ||
|
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,29 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
RIGHT="\e["70"\`" # => [ OK ] | ||
OK="$RIGHT [ OK ]" | ||
FAIL="$RIGHT [ FAIL ]" | ||
|
||
case "$1" in | ||
configure) | ||
# We have to change the directory in the ppa | ||
if [[ `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/` ]]; then | ||
echo -e -n "[Cairo-Dock-Team] Repository: \n * Updated your sources.list (repository.glx-dock.org => download.tuxfamily.org/glxdock/repository)" | ||
rm -rf /tmp/cairo-dock-dpkg | ||
mkdir /tmp/cairo-dock-dpkg | ||
for i in `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/`; do | ||
cp $i /tmp/cairo-dock-dpkg/ | ||
done | ||
grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/ | xargs sed -i "s/http:\/\/repository\.glx-dock\.org/http:\/\/download.tuxfamily.org\/glxdock\/repository/g" | ||
if [ $? -eq 0 ]; then | ||
rm -r /tmp/cairo-dock-dpkg | ||
echo -e "$OK" | ||
else | ||
echo -e "$FAIL\nPlease update our ppa (cairo-dock-team/debian/ubuntu) from $BEFORE to $AFTER in your sources.list" | ||
cp -R /tmp/cairo-dock-dpkg/* /etc/apt/ | ||
fi | ||
fi | ||
;; | ||
esac | ||
|
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,11 @@ | ||
A changé: | ||
* les man pages | ||
- (cairo-dock-core.install) => debian/tmp/usr/man/ | ||
- rules | ||
* (cairo-dock-data.install) => debian/tmp/usr/bin/cairo-dock-package-theme | ||
|
||
lintian -i blah.dsc | ||
lintian -i -I --show-overrides gentoo_0.9.12-1_i386.changes | ||
|
||
W: cairo-dock source: out-of-date-standards-version 3.8.3 (current is 3.9.1) | ||
E: cairo-dock source: not-binnmuable-all-depends-any cairo-dock-dev -> cairo-dock-core |
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,29 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
RIGHT="\e["70"\`" # => [ OK ] | ||
OK="$RIGHT [ OK ]" | ||
FAIL="$RIGHT [ FAIL ]" | ||
|
||
case "$1" in | ||
configure) | ||
# We have to change the directory in the ppa | ||
if [[ `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/` ]]; then | ||
echo -e -n "[Cairo-Dock-Team] Repository: \n * Updated your sources.list (repository.glx-dock.org => download.tuxfamily.org/glxdock/repository)" | ||
rm -rf /tmp/cairo-dock-dpkg | ||
mkdir /tmp/cairo-dock-dpkg | ||
for i in `grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/`; do | ||
cp $i /tmp/cairo-dock-dpkg/ | ||
done | ||
grep -rl "^deb http://repository.glx-dock.org/" /etc/apt/ | xargs sed -i "s/http:\/\/repository\.glx-dock\.org/http:\/\/download.tuxfamily.org\/glxdock\/repository/g" | ||
if [ $? -eq 0 ]; then | ||
rm -r /tmp/cairo-dock-dpkg | ||
echo -e "$OK" | ||
else | ||
echo -e "$FAIL\nPlease update our ppa (cairo-dock-team/debian/ubuntu) from $BEFORE to $AFTER in your sources.list" | ||
cp -R /tmp/cairo-dock-dpkg/* /etc/apt/ | ||
fi | ||
fi | ||
;; | ||
esac | ||
|