Browse Source

Add a script which create a directory with symlinks to the uninstalled modules.

master
thesloth 23 years ago
parent
commit
34455e47ae
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      createlinks

+ 16
- 0
createlinks View File

@@ -0,0 +1,16 @@
#!/bin/bash
if [ $# -gt 0 ] ; then
if ! [ -e links/$1.so ] ; then
echo Creating link for $1
ln -s ../SpiralSound/Plugins/$1/$1.so links/$1.so
fi
else
if ! [ -d links ] ; then
if [ -e links ] ; then
echo A file \"links\" alredy exists, can\'t create the directory
exit
fi
mkdir links
fi
xargs -n 1 $0 < SpiralSound/PluginList.txt
fi

Loading…
Cancel
Save