mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
178721614c
Cleanup pre-install script. Remove etc/minicom on pkg_delete.
82 lines
1.6 KiB
Plaintext
82 lines
1.6 KiB
Plaintext
--- install.sh.orig Sat Sep 27 10:21:12 1997
|
|
+++ install.sh Sat Jan 10 01:16:04 1998
|
|
@@ -29,6 +29,7 @@
|
|
exit 1
|
|
fi
|
|
fi
|
|
+chown uucp $1
|
|
|
|
if test ! -d $2
|
|
then
|
|
@@ -47,8 +48,8 @@
|
|
echo "Installing minicom in $2"
|
|
cp minicom $2/minicom
|
|
chmod 755 $2/minicom
|
|
- chown root $2/minicom
|
|
- chgrp root $2/minicom
|
|
+ chown uucp $2/minicom
|
|
+ chgrp dialer $2/minicom
|
|
fi
|
|
|
|
for i in runscript xminicom ascii-xfr
|
|
@@ -59,7 +60,7 @@
|
|
cp $i $2/$i
|
|
chmod 755 $2/$i
|
|
chown root $2/$i
|
|
- chgrp root $2/$i
|
|
+ chgrp bin $2/$i
|
|
fi
|
|
done
|
|
|
|
@@ -69,7 +70,7 @@
|
|
cp keyserv $1/keyserv
|
|
chmod 755 $1/keyserv
|
|
chown root $1/keyserv
|
|
- chgrp root $1/keyserv
|
|
+ chgrp bin $1/keyserv
|
|
fi
|
|
|
|
echo "Installing manpages in $3"
|
|
@@ -78,7 +79,7 @@
|
|
cp ../man/$i $3
|
|
chmod 644 $3/$i
|
|
chown root $3/$i
|
|
- chgrp root $3/$i
|
|
+ chgrp bin $3/$i
|
|
done
|
|
|
|
if [ ! -f $1/minicom.users ]
|
|
@@ -86,7 +87,7 @@
|
|
echo "Installing sample config file minicom.users in $1"
|
|
cp minicom.users $1
|
|
chown root $1/minicom.users
|
|
- chgrp root $1/minicom.users
|
|
+ chgrp bin $1/minicom.users
|
|
chmod 644 $1/minicom.users
|
|
fi
|
|
|
|
@@ -98,7 +99,7 @@
|
|
cp ../demos/$i $4/$i
|
|
chmod 644 $4/$i
|
|
chown root $4/$i
|
|
- chgrp root $4/$i
|
|
+ chgrp bin $4/$i
|
|
done
|
|
else
|
|
echo "You don't have a $4 directory - script examples not installed."
|
|
@@ -109,9 +110,10 @@
|
|
rm minicom.o
|
|
fi
|
|
|
|
-echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
|
-echo
|
|
-echo "chmod +s $2/minicom"
|
|
-echo
|
|
+###echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
|
+###echo
|
|
+###echo "chmod +s $2/minicom"
|
|
+###echo
|
|
+chmod u+s $2/minicom
|
|
|
|
exit 0
|