Fixed installer

master
andre 1 year ago
parent 25b213a9f1
commit c43dc0ccd5

@ -8,7 +8,7 @@ dir=$( pwd )
echo "$dir - $inst" echo "$dir - $inst"
cp -r $dir $inst cp -r $dir $inst
cd $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 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 done

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

Loading…
Cancel
Save