Menu

[770b7b]: / install.sh  Maximize  Restore  History

Download this file

15 lines (10 with data), 346 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/sh
package_dir=$(cd `dirname $0` && pwd)
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
cp $package_dir/usr/share/applications/nixnote.desktop /usr/share/applications/nixnote.desktop
mkdir /usr/share/nixnote
cp -r $package_dir/usr/share/nixnote/* /usr/share/nixnote/
echo "Install complete"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.