summaryrefslogtreecommitdiff
path: root/bin/usbskelhere
blob: c74c53b998b77c769256cd5d3c1bd4c1efcebc0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

. $HOME/.shenv

skelhere ()
{
    usbpubkeys
    mkdir -p doc bin lib
    cp -RLf ~/lib/annex/big/skel/usb/* .
    cp ~/bin/{apple-setup.sh,dasl-setup.bat} bin
    cp -L ~/lib/pro.terminal lib
    cp -L "$HOME/lib/annex/doc/sounds/Rainy Mood pomodoro.mp3" lib
    zip -j lib/spwhitton.zip  lib/*.reg bin/*
}

while true; do
    read -p "This might overwrite stuff in $(pwd).  Is that okay? " yn
    case $yn in
        [Yy]* ) skelhere; break;;
        [Nn]* ) exit;;
        * ) echo "Please answer yes or no.";;
    esac
done