Rename a few icons left in rc files

pull/1/head
Timothy Pearson 10 years ago
parent af6429be00
commit 5d8f222851

@ -49,6 +49,8 @@ function convert_files {
find ./ -type f -iname "*.desktop" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \; find ./ -type f -iname "*.desktop" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
find ./ -type f -iname "*.protocol" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \; find ./ -type f -iname "*.protocol" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
find ./ -type f -iname "*.rc" -not -iwholename '*.git*' -exec sed -i "s/icon=\"$1\"/icon=\"$2\"/g" {} \;
echo "===================================================" echo "==================================================="
echo "Renaming $1..." echo "Renaming $1..."
cd $WORKDIR/tdelibs/pics cd $WORKDIR/tdelibs/pics

@ -49,6 +49,8 @@ function convert_files {
find ./ -type f -iname "*.desktop" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \; find ./ -type f -iname "*.desktop" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
find ./ -type f -iname "*.protocol" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \; find ./ -type f -iname "*.protocol" -not -iwholename '*.git*' -exec sed -i "s/Icon=$1/Icon=$2/g" {} \;
find ./ -type f -iname "*.rc" -not -iwholename '*.git*' -exec sed -i "s/icon=\"$1\"/icon=\"$2\"/g" {} \;
echo "===================================================" echo "==================================================="
echo "Renaming $1..." echo "Renaming $1..."
cd $WORKDIR/tdelibs/pics cd $WORKDIR/tdelibs/pics

Loading…
Cancel
Save