🔷 (File Transferring Utility) Transfer files through the Net 🔷
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
EXECUTABLE_NAME=ftu
|
|
|
|
DESTDIR=/usr/local/bin/
|
|
|
|
|
|
|
|
# if ftu is in the same directory - copy it to $DESTDIR
|
|
|
|
if [ -e $EXECUTABLE_NAME ]
|
|
|
|
then
|
|
|
|
cp $EXECUTABLE_NAME $DESTDIR
|
|
|
|
else
|
|
|
|
echo "No '${EXECUTABLE_NAME}' in current directory !"
|
|
|
|
fi
|