⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install-binary

📁 高手写的手写代码!欢迎大家下载,共同交流,如果有问题,请联系我!谢谢!
💻
字号:
#!/bin/shif test `id -u` = 0; then  echo "This installer will now attempt to install the 'xournal' binary in"  echo "/usr/local/bin and the support files in /usr/local/share/xournal."  echo "Press Control-C to abort, or Enter to proceed."  read  test -z /usr/local/bin || mkdir -p /usr/local/bin  install -c src/xournal /usr/local/bin/xournal  install -d /usr/local/share/xournal/pixmaps  for pixmap in pixmaps/*; do    install -c -m 644 $pixmap /usr/local/share/xournal/pixmaps  done  install -d /usr/local/share/xournal/html-doc  for docfile in html-doc/*; do    if test -f $docfile; then      install -c -m 644 $docfile /usr/local/share/xournal/html-doc    fi  done  if test ! -e /usr/local/share/xournal/html-doc/pixmaps; then    ln -s ../pixmaps /usr/local/share/xournal/html-doc/pixmaps  fielse  echo "To install xournal in /usr/local, you must run this installer as root."  echo "This installer will now attempt to install xournal in your home directory."  echo "Press Control-C to abort, or select a directory for the installation"  echo "(the binary will be installed in this location, and the support files will"  echo "be installed into subdirectories called pixmaps/ and html-doc/)."  echo  echo -n "Location [default: $HOME/bin]: "  read location  if test -z $location; then    location=$HOME/bin  fi  test -z $location || mkdir -p $location  install -c src/xournal $location/xournal  install -d $location/pixmaps  for pixmap in pixmaps/*; do    install -c -m 644 $pixmap $location/pixmaps  done  install -d $location/html-doc  for docfile in html-doc/*; do    if test -f $docfile; then      install -c -m 644 $docfile $location/html-doc    fi  done  if test ! -e $location/html-doc/pixmaps; then    ln -s ../pixmaps $location/html-doc/pixmaps  fifi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -