Fixed installer

master
andre 1 year ago
parent 25b213a9f1
commit c43dc0ccd5

@ -8,7 +8,7 @@ dir=$( pwd )
echo "$dir - $inst"
cp -r $dir $inst
cd $inst
sed -i "s-DIR=''-DIR='$inst/$dir'-g" $inst/smadonnamate.sh
sed -i "s-DIR=''-DIR='$inst'-g" $inst/smadonnamate.sh
for i in $( cat syms.lst ); do
sudo ln -s $inst/$dir/smadonnamate.sh /usr/bin/$i
sudo ln -s $inst/smadonnamate.sh /usr/bin/$i
done

@ -1,6 +1,8 @@
#!/bin/bash
FILE="/home/andre/Scrivania/smadonnamate/porconi.lst"
FR="/home/andre/Scrivania/smadonnamate/frasi.lst"
DIR=''
FILE="$DIR/porconi.lst"
FR="$DIR/frasi.lst"
echo $FILE
porco=$( shuf -n 1 $FILE )
smad=$( shuf -n 1 $FR )
eval echo $smad

Loading…
Cancel
Save