wineshelllink: Don't hard-code icon extension to xpm.
This commit is contained in:
parent
690f496bd4
commit
e664379a06
|
@ -116,10 +116,11 @@ copy_icon()
|
|||
{
|
||||
if [ -f "$icon" ]
|
||||
then
|
||||
xpmicon=`basename "$icon" .xpm`
|
||||
xpmicon=`basename "$icon"`
|
||||
xpmicon=${xpmicon%.*}
|
||||
|
||||
mkdir -p "$1"
|
||||
cp "$icon" "$1/$xpmicon.xpm"
|
||||
cp "$icon" "$1"
|
||||
else
|
||||
xpmicon=""
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue