fix sulinstrapt for debian

üst a2dbd2f0
#!/bin/sh
#!/bin/bash
#sulinstrapt betiği ile sulinos chroot oluşturabilirsiniz veya diskinize kurulum yapabilirsiniz
if [ "$1" == "" ] || [ "$1" == "-*" ]
if [[ "$1" == "" || "$1" == "-*" ]]
then
echo "Usage: sulinstrapt [directory]"
exit 0
fi
sulin="$1"
if [ $UID -ne 0 ]
if [[ $UID -ne 0 ]]
then
echo "You must be root!"
exit 1
fi
if [ -d "$sulin" ]
if [[ -d "$sulin" ]]
then
echo "$sulin already exist"
fi
if [ -f "$sulin" ]
if [[ -f "$sulin" ]]
then
echo "$sulin is a file. You must delete or move."
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment