#/bin/sh [ -z "$2" ] && set -- "$1" ppm #ppm is the default second argument mkdir "$2" cd "$2" if [ "$1" = init ] || [ "$1" = all ]; then git init git remote add origin git@github.com:puppylinux-woof-CE/woof-CE.git git remote add –f origin git@github.com:puppylinux-woof-CE/woof-CE.git git config core.sparsecheckout true fi if [ "$1" = add_checkouts ] || [ "$1" = all ]; then #Main Directory echo /woof-code/rootfs-skeleton/usr/local/petget/ >> .git/info/sparse-checkout #Another important directory echo /woof-code/rootfs-packages/check_deps_gui >> .git/info/sparse-checkout #Empty Directory #Symlinks echo /woof-code/rootfs-skeleton/usr/local/bin/ppm >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/root/.packages >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/sbin/petget >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/sbin/dotpup1 >> .git/info/sparse-checkout #Scripts echo /woof-code/rootfs-skeleton/usr/bin/dir2pet >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/bin/dirs2pets >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/bin/dotpet >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/bin/pet2tgz >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/bin/petspec >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/bin/tgz2pet >> .git/info/sparse-checkout echo /woof-code/rootfs-skeleton/usr/sbin/dotpup1 >> .git/info/sparse-checkout #This scirpt is called when you click on the install button on the desktop or top tray echo /woof-code/rootfs-skeleton/usr/sbin/dotpup >> .git/info/sparse-checkout #This defines the menu item for the package manager. echo /woof-code/rootfs-skeleton/usr/share/applications/petget.desktop #Let's not forget the license. echo LICENSE >> .git/info/sparse-checkout #Some files related to building a puppy. echo /woof-code/0setup >> .git/info/sparse-checkout echo /woof-code/PKGS_MANAGEMENT >> .git/info/sparse-checkout echo /woof-code/_00build.conf >> .git/info/sparse-checkout echo /woof-distro >> .git/info/sparse-checkout #Let's not forget the license. echo LICENSE >> .git/info/sparse-checkout fi
Comments