blob: fe6fb45fc8e7acced793c6acb603eea58d476870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
prefix=$(tde-config --localprefix)
source="$prefix/share/apps/konqsidebartng"
[ -d "$source/entries" ] || exit 0
profiles="filemanagement webbrowsing"
for profile in $profiles; do
dest="$source/$profile/entries"
if [ ! -d "$dest" ]; then
mkdir -p "$dest" || exit 1
cp $source/entries/.version $dest/
cp $source/entries/* $dest/
fi
done
rm -rf $source/entries
|